Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kernel tool ID issue for Pro Pen 3 (0x4200) and Pro Pen 3D (0x8842) #435

Merged
merged 2 commits into from
Jul 25, 2024

Commits on Jul 25, 2024

  1. HID: wacom: Modify pen IDs

    The pen ID, 0x80842, was not the correct ID for wacom driver to
    treat. The ID was corrected to 0x8842.
    Also, 0x4200 was not the expected ID used on any Wacom device.
    Therefore, 0x4200 was removed.
    
    Signed-off-by: Tatsunosuke Tobita <[email protected]>
    Signed-off-by: Tatsunosuke Tobita <[email protected]>
    Fixes: bfdc750c4cb2 ("HID: wacom: add three styli to wacom_intuos_get_tool_type")
    Cc: [email protected] linuxwacom#6.2
    Reviewed-by: Ping Cheng <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Benjamin Tissoires <[email protected]>
    [[email protected]: Imported into input-wacom (f017d696dfce)]
    Signed-off-by: Gavin Hsia <[email protected]>
    flying-elephant authored and Gavin-Hsia committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    85ef8aa View commit details
    Browse the repository at this point in the history
  2. HID: wacom: more appropriate tool type categorization

    Recent eraser and pen tools are able to be distinguished
    by looking at its least significant nibble.
    This modification applies it to wacom_intuos_get_tool_type
    function and reduces its code lines.
    
    Signed-off-by: Tatsunosuke Tobita <[email protected]>
    Signed-off-by: Tatsunosuke Tobita <[email protected]>
    Reviewed-by: Ping Cheng <[email protected]>
    Link: https://patch.msgid.link/[email protected]
    Signed-off-by: Benjamin Tissoires <[email protected]>
    [[email protected]: Imported into input-wacom (9c2913n962da)]
    Signed-off-by: Gavin Hsia <[email protected]>
    flying-elephant authored and Gavin-Hsia committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    1a5f31f View commit details
    Browse the repository at this point in the history