diff options
Diffstat (limited to 'driver/touchpad_elan.c')
-rw-r--r-- | driver/touchpad_elan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/touchpad_elan.c b/driver/touchpad_elan.c index b39ef4fecc..7f69ada21b 100644 --- a/driver/touchpad_elan.c +++ b/driver/touchpad_elan.c @@ -214,8 +214,8 @@ static int elan_tp_read_report(void) int valid = touch_info & (1 << (3+i)); if (valid) { - int width = (finger[3] & 0xf0) >> 4; - int height = finger[3] & 0x0f; + int width = finger[3] & 0x0f; + int height = (finger[3] & 0xf0) >> 4; int pressure = finger[4] + elan_tp_params.pressure_adj; pressure = DIV_ROUND_NEAREST(pressure * pressure_mult, pressure_div); |