Input: cros_ec_keyb - send 'scancodes' in addition to key events
[linux-2.6-microblaze.git] / drivers / input / keyboard / cros_ec_keyb.c
index fc1793c..0a748ae 100644 (file)
@@ -183,6 +183,7 @@ static void cros_ec_keyb_process(struct cros_ec_keyb *ckdev,
                                        "changed: [r%d c%d]: byte %02x\n",
                                        row, col, new_state);
 
+                               input_event(idev, EV_MSC, MSC_SCAN, pos);
                                input_report_key(idev, keycodes[pos],
                                                 new_state);
                        }