Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248513
b: refs/heads/master
c: 1e648a1
h: refs/heads/master
i:
  248511: 8d94411
v: v3
  • Loading branch information
Benjamin Tissoires authored and Jiri Kosina committed Mar 21, 2011
1 parent a199d85 commit 0c0f788
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a841b62c5d5f75ce3676fde755696d30cc8de99a
refs/heads/master: 1e648a13720ef5de51f132501acf3e443d1a36d4
5 changes: 2 additions & 3 deletions trunk/drivers/hid/hid-multitouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,8 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
case HID_DG_HEIGHT:
hid_map_usage(hi, usage, bit, max,
EV_ABS, ABS_MT_TOUCH_MINOR);
field->logical_maximum = 1;
field->logical_minimum = 0;
set_abs(hi->input, ABS_MT_ORIENTATION, field, 0);
input_set_abs_params(hi->input,
ABS_MT_ORIENTATION, 0, 1, 0, 0);
td->last_slot_field = usage->hid;
return 1;
case HID_DG_TIPPRESSURE:
Expand Down

0 comments on commit 0c0f788

Please sign in to comment.