diff options
Diffstat (limited to 'usr')
| -rw-r--r-- | usr/src/dkms_source_tree/hid-egalax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/dkms_source_tree/hid-egalax.c b/usr/src/dkms_source_tree/hid-egalax.c index 7519d95..00c3af6 100644 --- a/usr/src/dkms_source_tree/hid-egalax.c +++ b/usr/src/dkms_source_tree/hid-egalax.c | |||
| @@ -70,7 +70,7 @@ static int egalax_input_mapping(struct hid_device *hdev, struct hid_input *hi, | |||
| 70 | case HID_UP_GENDESK: | 70 | case HID_UP_GENDESK: |
| 71 | switch (usage->hid) { | 71 | switch (usage->hid) { |
| 72 | case HID_GD_X: | 72 | case HID_GD_X: |
| 73 | field->logical_maximum <<= 3; | 73 | field->logical_maximum = 32760; |
| 74 | hid_map_usage(hi, usage, bit, max, | 74 | hid_map_usage(hi, usage, bit, max, |
| 75 | EV_ABS, ABS_MT_POSITION_X); | 75 | EV_ABS, ABS_MT_POSITION_X); |
| 76 | set_abs(input, ABS_MT_POSITION_X, field, SN_MOVE); | 76 | set_abs(input, ABS_MT_POSITION_X, field, SN_MOVE); |
| @@ -78,7 +78,7 @@ static int egalax_input_mapping(struct hid_device *hdev, struct hid_input *hi, | |||
| 78 | set_abs(input, ABS_X, field, SN_MOVE); | 78 | set_abs(input, ABS_X, field, SN_MOVE); |
| 79 | return 1; | 79 | return 1; |
| 80 | case HID_GD_Y: | 80 | case HID_GD_Y: |
| 81 | field->logical_maximum <<= 3; | 81 | field->logical_maximum = 32760; |
| 82 | hid_map_usage(hi, usage, bit, max, | 82 | hid_map_usage(hi, usage, bit, max, |
| 83 | EV_ABS, ABS_MT_POSITION_Y); | 83 | EV_ABS, ABS_MT_POSITION_Y); |
| 84 | set_abs(input, ABS_MT_POSITION_Y, field, SN_MOVE); | 84 | set_abs(input, ABS_MT_POSITION_Y, field, SN_MOVE); |
