aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorTatsunosuke Tobita <[email protected]>2024-07-09 05:57:29 +0000
committerBenjamin Tissoires <[email protected]>2024-07-18 06:13:28 +0000
commit9c2913b962daf3e5a947babf93f2125765eeca09 (patch)
treef1b1ece77d31175f918b5272a30dfc5cd85c9f2f /scripts/generate_rust_target.rs
parentHID: wacom: Modify pen IDs (diff)
downloadkernel-9c2913b962daf3e5a947babf93f2125765eeca09.tar.gz
kernel-9c2913b962daf3e5a947babf93f2125765eeca09.zip
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]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions