1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

keymap: update the OLPC keymap for correct function key behavior

New mappings were needed when the mechanical keyboard was
introduced, and GNOME was made a peer to the sugar desktop.
see http://lists.laptop.org/pipermail/devel/2010-July/029384.html
This commit is contained in:
Paul Fox 2011-08-22 06:39:06 +02:00 committed by Martin Pitt
parent 6e3b1694a4
commit 00fc377e7a

View File

@ -2,18 +2,32 @@
0x81 fn_esc 0x81 fn_esc
0xF9 camera 0xF9 camera
0xF8 sound # Fn-CAMERA = Mic 0xF8 sound # Fn-CAMERA = Mic
0xBB fn_f1
0xBC fn_f2
0xBD fn_f3 # Function key mappings, as per
0xBE fn_f4 # http://dev.laptop.org/ticket/10213#comment:20
0xBF fn_f5 #
0xC0 fn_f6 # Unmodified F1-F8 produce F1-F8, so no remap necessary.
0xC1 fn_f7 # Unmodified F9-F12 control brightness and volume.
0xC2 fn_f8 0x43 brightnessdown
0xC3 fn_f9 0x44 brightnessup
0xC4 fn_f10 0x57 volumedown
0xD7 fn_f11 0x58 volumeup
0xD8 fn_f12
# fn-modified fkeys all produce the unmodified version of the key.
0xBB f1
0xBC f2
0xBD f3
0xBE f4
0xBF f5
0xC0 f6
0xC1 f7
0xC2 f8
0xC3 f9
0xC4 f10
0xD7 f11
0xD8 f12
# Using F13-F21 for the .5 F keys right now. # Using F13-F21 for the .5 F keys right now.
0xF7 f13 0xF7 f13