lkml.org 
[lkml]   [2022]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v6 4/5] Input: joystick: xpad: Add ABS_PROFILE to Docs
    Date
    Add ABS_PROFILE description to Documentation/input/

    Signed-off-by: Nate Yocom <nate@yocom.org>
    ---
    Documentation/input/event-codes.rst | 6 ++++++
    Documentation/input/gamepad.rst | 6 ++++++
    2 files changed, 12 insertions(+)

    diff --git a/Documentation/input/event-codes.rst b/Documentation/input/event-codes.rst
    index 8741d390b184..b4557462edd7 100644
    --- a/Documentation/input/event-codes.rst
    +++ b/Documentation/input/event-codes.rst
    @@ -235,6 +235,12 @@ A few EV_ABS codes have special meanings:
    BTN_TOOL_<name> signals the type of tool that is currently detected by the
    hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH.

    +* ABS_PROFILE:
    +
    + - Used to describe the state of a multi-value profile switch. An event is
    + emitted only when the selected profile changes, indicating the newly
    + selected profile value.
    +
    * ABS_MT_<name>:

    - Used to describe multitouch input events. Please see
    diff --git a/Documentation/input/gamepad.rst b/Documentation/input/gamepad.rst
    index 4d5e7fb80a84..71019de46036 100644
    --- a/Documentation/input/gamepad.rst
    +++ b/Documentation/input/gamepad.rst
    @@ -189,3 +189,9 @@ Gamepads report the following events:
    - Rumble:

    Rumble is advertised as FF_RUMBLE.
    +
    +- Profile:
    +
    + Some pads provide a multi-value profile selection switch. An example is the
    + XBox Adaptive and the XBox Elite 2 controllers. When the active profile is
    + switched, its newly selected value is emitted as an ABS_PROFILE event.
    --
    2.30.2
    \
     
     \ /
      Last update: 2022-09-08 19:43    [W:3.106 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site