diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-11 10:55:31 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-12 17:42:28 +0100 |
commit | 11a7c84f858812c2a02d9a2b96415f2cad93447e (patch) | |
tree | a2f5bb508b897a2904fd0ae6d8c55a218641e154 /src/mainboard | |
parent | fc7090b249ddfc7d5332ca8bee0f322607643960 (diff) |
ec/lenovo/h8: Implement sticky Fn option.
Useful for accessibility.
Sticky modifier (sticky Fn) is a behaviour of modifier key when
you don't have to hold it pressed to achieve the result. E.g.
with normal Fn brightness up is:
<Press Fn> <Press Home> <Despress Home> <Depress Fn>
With sticky Fn you can do:
<Press Fn> <Depress Fn> <Press Home> <Despress Home>
Change-Id: I4da5adcea02428d936023891de08684cae77c44e
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4661
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/lenovo/t60/cmos.layout | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/cmos.default | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/cmos.layout | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/cmos.default | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/cmos.layout | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t60/cmos.layout b/src/mainboard/lenovo/t60/cmos.layout index 10f75c03a7..abd98d2ae7 100644 --- a/src/mainboard/lenovo/t60/cmos.layout +++ b/src/mainboard/lenovo/t60/cmos.layout @@ -113,6 +113,7 @@ entries 1064 8 h 0 volume 1072 1 e 9 first_battery 1074 1 e 1 fn_ctrl_swap +1075 1 e 1 sticky_fn # ----------------------------------------------------------------- enumerations diff --git a/src/mainboard/lenovo/x201/cmos.default b/src/mainboard/lenovo/x201/cmos.default index ae57b97b88..772b024da6 100644 --- a/src/mainboard/lenovo/x201/cmos.default +++ b/src/mainboard/lenovo/x201/cmos.default @@ -10,3 +10,4 @@ bluetooth=Enable wwan=Enable touchpad=Enable fn_ctrl_swap=Disable +sticky_fn=Disable diff --git a/src/mainboard/lenovo/x201/cmos.layout b/src/mainboard/lenovo/x201/cmos.layout index f91fb5190b..ba6f87d063 100644 --- a/src/mainboard/lenovo/x201/cmos.layout +++ b/src/mainboard/lenovo/x201/cmos.layout @@ -91,6 +91,7 @@ entries 413 1 e 1 wwan 414 1 e 1 touchpad 417 1 e 1 fn_ctrl_swap +418 1 e 1 sticky_fn #419 565 r 0 unused # coreboot config options: check sums diff --git a/src/mainboard/lenovo/x60/cmos.default b/src/mainboard/lenovo/x60/cmos.default index a2620a94eb..eed5fa826d 100644 --- a/src/mainboard/lenovo/x60/cmos.default +++ b/src/mainboard/lenovo/x60/cmos.default @@ -13,3 +13,4 @@ tft_brightness=0xff first_battery=Primary bluetooth=Enable fn_ctrl_swap=Disable +sticky_fn=Disable diff --git a/src/mainboard/lenovo/x60/cmos.layout b/src/mainboard/lenovo/x60/cmos.layout index 9482072744..738863e3d9 100644 --- a/src/mainboard/lenovo/x60/cmos.layout +++ b/src/mainboard/lenovo/x60/cmos.layout @@ -113,6 +113,7 @@ entries 1081 1 e 1 bluetooth 1082 1 e 1 wwan 1085 1 e 1 fn_ctrl_swap +1086 1 e 1 sticky_fn # ----------------------------------------------------------------- enumerations |