Permalink
Browse files

Added to cypress-touchkey, enabling has_legacy_keycode for SGHT959. M…

…aking capacitive buttons work sensibly.
  • Loading branch information...
1 parent 8364623 commit c2623a8cd0320e4b84b5f1a83b25e37d4e540bf1 @fenfir fenfir committed Dec 21, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 drivers/input/keyboard/cypress-touchkey.c
@@ -307,7 +307,9 @@ static int cypress_touchkey_probe(struct i2c_client *client,
devdata->has_legacy_keycode = data[1] >= 0xc4 || data[1] < 0x9 ||
(data[1] == 0x9 && data[2] < 0x9) ||
+ #if defined(CONFIG_GALAXYS_SGHT959)
data[1] == 0xe;
+ #endif
err = i2c_touchkey_write_byte(devdata, devdata->backlight_on);
if (err) {

0 comments on commit c2623a8

Please sign in to comment.