diff options
author | Jason Gerecke <killertofu@gmail.com> | 2015-04-15 17:22:32 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-04-23 10:06:10 +0200 |
commit | 71b5c4766c1ca4c646a90f64552b140b1368f2f1 (patch) | |
tree | 9eba2f2c0ceb14752ca2d206846367353f6e33eb /drivers/scsi/sd_dif.c | |
parent | e48151a3a456b38b1029a8a7380246b53c768400 (diff) | |
download | linux-71b5c4766c1ca4c646a90f64552b140b1368f2f1.tar.bz2 |
HID: wacom: Simplify check for presence of single-finger touch
To determine if a touch is present in the single-touch case, we can
simply check if the BTN_TOUCH key is active or not. This will work for
both HID_GENERIC and other device types.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi/sd_dif.c')
0 files changed, 0 insertions, 0 deletions