提交 ae42f234 编写于 作者: M Matthew Garrett

toshiba-acpi: Add an extra couple of keys

Thomas Bächler reports that his machine generates two keycodes for zooming
in and out. Add these to the default keymap.
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Cc: Thomas Bächler <thomas@archlinux.org>
上级 08db2b31
...@@ -129,6 +129,8 @@ enum {KE_KEY, KE_END}; ...@@ -129,6 +129,8 @@ enum {KE_KEY, KE_END};
static struct key_entry toshiba_acpi_keymap[] = { static struct key_entry toshiba_acpi_keymap[] = {
{KE_KEY, 0x101, KEY_MUTE}, {KE_KEY, 0x101, KEY_MUTE},
{KE_KEY, 0x102, KEY_ZOOMOUT},
{KE_KEY, 0x103, KEY_ZOOMIN},
{KE_KEY, 0x13b, KEY_COFFEE}, {KE_KEY, 0x13b, KEY_COFFEE},
{KE_KEY, 0x13c, KEY_BATTERY}, {KE_KEY, 0x13c, KEY_BATTERY},
{KE_KEY, 0x13d, KEY_SLEEP}, {KE_KEY, 0x13d, KEY_SLEEP},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册