diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-12-13 05:29:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-12-13 05:29:51 +0000 |
commit | 3f5540732e775ce80d34e51cf6a36bfeb9a5a6f7 (patch) | |
tree | 9083aba6940baa38f459c2d20def3c91dc518d7e /sys | |
parent | 2de7bc76cbf9bd58b40cdd324f76fc18d53a7f26 (diff) |
ThinkPad Edge E130, event 0x6060 is supposed to indicate toggle
between default Fn and media Fn modes. We don't do that, so
ignore the toggle.
From Frederic Nowak
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpithinkpad.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpithinkpad.c b/sys/dev/acpi/acpithinkpad.c index c190ecc380d..cf4d432e899 100644 --- a/sys/dev/acpi/acpithinkpad.c +++ b/sys/dev/acpi/acpithinkpad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpithinkpad.c,v 1.41 2014/10/08 14:30:32 dcoppa Exp $ */ +/* $OpenBSD: acpithinkpad.c,v 1.42 2014/12/13 05:29:50 deraadt Exp $ */ /* * Copyright (c) 2008 joshua stein <jcs@openbsd.org> * @@ -93,6 +93,7 @@ #define THINKPAD_THERMAL_TABLE_CHANGED 0x6030 #define THINKPAD_POWER_CHANGED 0x6040 #define THINKPAD_BACKLIGHT_CHANGED 0x6050 +#define THINKPAD_BUTTON_FN_TOGGLE 0x6060 #define THINKPAD_TABLET_SCREEN_CHANGED 0x60c0 #define THINKPAD_SWITCH_WIRELESS 0x7000 @@ -373,6 +374,7 @@ thinkpad_hotkey(struct aml_node *node, int notify_type, void *arg) case THINKPAD_BUTTON_FN_F1: case THINKPAD_BUTTON_FN_F6: case THINKPAD_BUTTON_FN_SPACE: + case THINKPAD_BUTTON_FN_TOGGLE: case THINKPAD_BUTTON_LOCK_SCREEN: case THINKPAD_BUTTON_POINTER_SWITCH: case THINKPAD_BUTTON_THINKLIGHT: |