diff options
| author | Jani Nikula <ext-jani.1.nikula@nokia.com> | 2009-11-06 01:59:46 -0500 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:09:30 -0500 |
| commit | 76b5c84f77c3abc92a3c4e185e7b78f17a0ed204 (patch) | |
| tree | 0f2ac7972f621b50afca9be590264b2fbce6102e /include/linux | |
| parent | cfaf6d2c1cb231f77e24109cb1460db429608bd4 (diff) | |
Input: add new keycodes useful in mobile devices
Add new codes for camera focus key, and camera lens cover, keypad slide,
front proximity switches.
Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index c2b1a7d244d9..84b501ab0d8f 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
| @@ -595,6 +595,8 @@ struct input_absinfo { | |||
| 595 | #define KEY_NUMERIC_STAR 0x20a | 595 | #define KEY_NUMERIC_STAR 0x20a |
| 596 | #define KEY_NUMERIC_POUND 0x20b | 596 | #define KEY_NUMERIC_POUND 0x20b |
| 597 | 597 | ||
| 598 | #define KEY_CAMERA_FOCUS 0x210 | ||
| 599 | |||
| 598 | /* We avoid low common keys in module aliases so they don't get huge. */ | 600 | /* We avoid low common keys in module aliases so they don't get huge. */ |
| 599 | #define KEY_MIN_INTERESTING KEY_MUTE | 601 | #define KEY_MIN_INTERESTING KEY_MUTE |
| 600 | #define KEY_MAX 0x2ff | 602 | #define KEY_MAX 0x2ff |
| @@ -677,6 +679,9 @@ struct input_absinfo { | |||
| 677 | #define SW_LINEOUT_INSERT 0x06 /* set = inserted */ | 679 | #define SW_LINEOUT_INSERT 0x06 /* set = inserted */ |
| 678 | #define SW_JACK_PHYSICAL_INSERT 0x07 /* set = mechanical switch set */ | 680 | #define SW_JACK_PHYSICAL_INSERT 0x07 /* set = mechanical switch set */ |
| 679 | #define SW_VIDEOOUT_INSERT 0x08 /* set = inserted */ | 681 | #define SW_VIDEOOUT_INSERT 0x08 /* set = inserted */ |
| 682 | #define SW_CAMERA_LENS_COVER 0x09 /* set = lens covered */ | ||
| 683 | #define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */ | ||
| 684 | #define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ | ||
| 680 | #define SW_MAX 0x0f | 685 | #define SW_MAX 0x0f |
| 681 | #define SW_CNT (SW_MAX+1) | 686 | #define SW_CNT (SW_MAX+1) |
| 682 | 687 | ||
