提交 e92865ed 编写于 作者: S Stefan Brüns 提交者: Dmitry Torokhov

Input: use more descriptive KEY_ROTATE_DISPLAY instead of KEY_DIRECTION

Signed-off-by: NStefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: NJiri Kosina <jkosina@suse.cz>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 bfd30cae
...@@ -814,7 +814,7 @@ static const char *keys[KEY_MAX + 1] = { ...@@ -814,7 +814,7 @@ static const char *keys[KEY_MAX + 1] = {
[KEY_DELETEFILE] = "DeleteFile", [KEY_XFER] = "X-fer", [KEY_DELETEFILE] = "DeleteFile", [KEY_XFER] = "X-fer",
[KEY_PROG1] = "Prog1", [KEY_PROG2] = "Prog2", [KEY_PROG1] = "Prog1", [KEY_PROG2] = "Prog2",
[KEY_WWW] = "WWW", [KEY_MSDOS] = "MSDOS", [KEY_WWW] = "WWW", [KEY_MSDOS] = "MSDOS",
[KEY_COFFEE] = "Coffee", [KEY_DIRECTION] = "Direction", [KEY_COFFEE] = "Coffee", [KEY_ROTATE_DISPLAY] = "RotateDisplay",
[KEY_CYCLEWINDOWS] = "CycleWindows", [KEY_MAIL] = "Mail", [KEY_CYCLEWINDOWS] = "CycleWindows", [KEY_MAIL] = "Mail",
[KEY_BOOKMARKS] = "Bookmarks", [KEY_COMPUTER] = "Computer", [KEY_BOOKMARKS] = "Bookmarks", [KEY_COMPUTER] = "Computer",
[KEY_BACK] = "Back", [KEY_FORWARD] = "Forward", [KEY_BACK] = "Back", [KEY_FORWARD] = "Forward",
......
...@@ -59,7 +59,7 @@ static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initdata = { ...@@ -59,7 +59,7 @@ static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initdata = {
KEY_RESERVED, KEY_RESERVED,
KEY_SCROLLDOWN, KEY_SCROLLDOWN,
KEY_SCROLLUP, KEY_SCROLLUP,
KEY_DIRECTION, KEY_ROTATE_DISPLAY,
KEY_LEFTCTRL, KEY_LEFTCTRL,
KEY_BRIGHTNESSUP, KEY_BRIGHTNESSUP,
KEY_BRIGHTNESSDOWN, KEY_BRIGHTNESSDOWN,
...@@ -116,7 +116,7 @@ static unsigned short keymap_Lifebook_U810[KEYMAP_LEN] __initdata = { ...@@ -116,7 +116,7 @@ static unsigned short keymap_Lifebook_U810[KEYMAP_LEN] __initdata = {
KEY_RESERVED, KEY_RESERVED,
KEY_PROG1, KEY_PROG1,
KEY_PROG2, KEY_PROG2,
KEY_DIRECTION, KEY_ROTATE_DISPLAY,
KEY_RESERVED, KEY_RESERVED,
KEY_RESERVED, KEY_RESERVED,
KEY_RESERVED, KEY_RESERVED,
...@@ -153,7 +153,7 @@ static unsigned short keymap_Stylistic_ST5xxx[KEYMAP_LEN] __initdata = { ...@@ -153,7 +153,7 @@ static unsigned short keymap_Stylistic_ST5xxx[KEYMAP_LEN] __initdata = {
KEY_RESERVED, KEY_RESERVED,
KEY_RESERVED, KEY_RESERVED,
KEY_MAIL, KEY_MAIL,
KEY_DIRECTION, KEY_ROTATE_DISPLAY,
KEY_ESC, KEY_ESC,
KEY_ENTER, KEY_ENTER,
KEY_BRIGHTNESSUP, KEY_BRIGHTNESSUP,
......
...@@ -144,7 +144,7 @@ static const struct key_entry hp_wmi_keymap[] = { ...@@ -144,7 +144,7 @@ static const struct key_entry hp_wmi_keymap[] = {
{ KE_KEY, 0x20e8, { KEY_MEDIA } }, { KE_KEY, 0x20e8, { KEY_MEDIA } },
{ KE_KEY, 0x2142, { KEY_MEDIA } }, { KE_KEY, 0x2142, { KEY_MEDIA } },
{ KE_KEY, 0x213b, { KEY_INFO } }, { KE_KEY, 0x213b, { KEY_INFO } },
{ KE_KEY, 0x2169, { KEY_DIRECTION } }, { KE_KEY, 0x2169, { KEY_ROTATE_DISPLAY } },
{ KE_KEY, 0x216a, { KEY_SETUP } }, { KE_KEY, 0x216a, { KEY_SETUP } },
{ KE_KEY, 0x231b, { KEY_HELP } }, { KE_KEY, 0x231b, { KEY_HELP } },
{ KE_END, 0 } { KE_END, 0 }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册