1# This file is part of systemd. 2# 3# This file contains 3 types of metadata to apply to keyboards and 4# keyboard-like input devices: 5# - Key mapping 6# - Hard-coded layouts 7# - Absence of modifier LEDs 8# 9# The matching process is the same for the different types of metadata. 10# 11# ########################### MATCHING ####################################### 12# 13# The lookup keys are composed in: 14# 60-evdev.rules 15# 16# Supported hardware matches are: 17# - Generic input devices match: 18# evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV 19# This matches on the kernel modalias of the input-device, mainly: 20# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and 21# WWWW are the 4-digit hex uppercase vendor, product and version ID and VVVV 22# is an arbitrary length input-modalias describing the device capabilities. 23# The vendor, product and version ID for a device node "eventX" is listed 24# in /sys/class/input/eventX/device/id. 25# 26# - AT keyboard DMI data matches: 27# evdev:atkbd:dmi:bvn*:bvr*:bd*:svn<vendor>:pn<product>:pvr* 28# <vendor> and <product> are the firmware-provided strings 29# exported by the kernel DMI modalias, see /sys/class/dmi/id/modalias 30# 31# - Input driver device name and DMI data match: 32# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn* 33# <input device name> is the name device specified by the 34# driver, <vendor> is the firmware-provided string exported 35# by the kernel DMI modalias, see /sys/class/dmi/id/modalias 36# 37# - Extended input driver device name, properties and DMI data match: 38# evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn* 39# <input device name> is the name device specified by the 40# driver, <phys> is the physical-device-path, "cat 41# /sys/class/input/input?/phys", <ev> is the event bitmask, "cat 42# /sys/class/input/input?/capabilities/ev" and <vendor> is the 43# firmware-provided string exported by the kernel DMI modalias, 44# see /sys/class/dmi/id/modalias 45 46# ######################### KEY MAPPING ###################################### 47# 48# Keyboard mapping of scan codes to key codes, and 49# scan codes to add to the AT keyboard's 'force-release' list. 50# 51# Scan codes are specified as: 52# KEYBOARD_KEY_<hex scan code>=<key code identifier> 53# The scan code should be expressed in hex lowercase. The key codes 54# are retrieved and normalized from the kernel input API header. 55# Keycodes are either KEY_* defines in lowercase with the key_ prefix 56# optionally removed or BTN_ defines in lowercase with btn_ preserved. 57# 58# An '!' as the first character of the key identifier string 59# will add the scan code to the AT keyboard's list of scan codes 60# where the driver will synthesize a release event and not expect 61# it to be generated by the hardware. 62# 63# To debug key presses and access scan code mapping data of 64# an input device use the commonly available tool: evtest(1). 65 66# A device with a fixed keyboard layout that must not be changed by 67# the desktop environment may specify that layout as: 68# XKB_FIXED_LAYOUT=us 69# XKB_FIXED_VARIANT= 70# Examples of such devices: the Yubikey or other key-code generating 71# devices. 72 73# A device where the scan code to key code mapping is insufficient and 74# requires a special key code to symbol configuration may specify that with: 75# XKB_FIXED_MODEL=xkbmodel 76# Examples of such devices: Chromebooks where the top row is used for both 77# media and F1-F10 keys. 78 79# To update this file, create a new file 80# /etc/udev/hwdb.d/70-keyboard.hwdb 81# and add your rules there. To load the new rules execute (as root): 82# systemd-hwdb update 83# udevadm trigger /dev/input/eventXX 84# where /dev/input/eventXX is the keyboard in question. If in 85# doubt, simply reload all input rules 86# udevadm trigger --verbose --sysname-match="event*" 87# 88# If your changes are generally applicable, preferably send them as a pull 89# request to 90# https://github.com/systemd/systemd 91# or create a bug report on https://github.com/systemd/systemd/issues and 92# include your new rules, a description of the device, and the output of 93# udevadm info /dev/input/eventXX. 94 95########################################## 96# Acer 97########################################## 98 99# common keys 100evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:* 101evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:* 102evdev:atkbd:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:* 103 KEYBOARD_KEY_86=wlan # Fn+F3 or Fn+Q for communication key 104 KEYBOARD_KEY_a5=help # Fn+F1 105 KEYBOARD_KEY_a6=setup # Fn+F2 Acer eSettings 106 KEYBOARD_KEY_a7=battery # Fn+F3 Power Management 107 KEYBOARD_KEY_a9=switchvideomode # Fn+F5 108 KEYBOARD_KEY_b2=www 109 KEYBOARD_KEY_b3=euro 110 KEYBOARD_KEY_b4=dollar 111 KEYBOARD_KEY_ce=brightnessup # Fn+Right 112 KEYBOARD_KEY_d4=bluetooth # (toggle) off-to-on 113 KEYBOARD_KEY_d5=wlan # (toggle) on-to-off 114 KEYBOARD_KEY_d6=wlan # (toggle) off-to-on 115 KEYBOARD_KEY_d7=bluetooth # (toggle) on-to-off 116 KEYBOARD_KEY_d8=bluetooth # (toggle) off-to-on 117 KEYBOARD_KEY_d9=brightnessup # Fn+Right 118 KEYBOARD_KEY_ee=brightnessup # Fn+Right 119 KEYBOARD_KEY_ef=brightnessdown # Fn+Left 120 KEYBOARD_KEY_f1=f22 # Fn+F7 Touchpad toggle (off-to-on) 121 KEYBOARD_KEY_f2=f23 # Fn+F7 Touchpad toggle (on-to-off) 122 KEYBOARD_KEY_f3=prog2 # "P2" programmable button 123 KEYBOARD_KEY_f4=prog1 # "P1" programmable button 124 KEYBOARD_KEY_f5=presentation 125 KEYBOARD_KEY_f6=power # Power button 126 KEYBOARD_KEY_f8=fn 127 KEYBOARD_KEY_f9=prog1 # Launch NTI shadow 128 129# Acer kernel driver 130evdev:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:* 131 KEYBOARD_KEY_82=f21 # Touchpad toggle 132 133# Aspire models 134evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*:* 135 KEYBOARD_KEY_84=bluetooth # sent when bluetooth module missing, and key pressed 136 KEYBOARD_KEY_d9=bluetooth # Bluetooth off 137 KEYBOARD_KEY_92=media # Acer arcade 138 139evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5720*:* 140evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnZG8*:* 141 KEYBOARD_KEY_f4=prog3 # e-key 142 143evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5920G:* 144 KEYBOARD_KEY_8a=media 145 KEYBOARD_KEY_a6=setup 146 147evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*6920:* 148evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:* 149 KEYBOARD_KEY_ca=prog3 # key 'HOLD' on CineDash Media Console 150 KEYBOARD_KEY_83=rewind 151 KEYBOARD_KEY_89=fastforward 152 KEYBOARD_KEY_9e=back 153 154evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:* 155 KEYBOARD_KEY_e0=!pageup 156 157# Acer Aspire One AO532h 158evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAO532h:* 159 KEYBOARD_KEY_84=bluetooth 160 KEYBOARD_KEY_ce=unknown # Brightness Up, also emitted by acpi-video, ignore 161 KEYBOARD_KEY_ef=unknown # Brightness Down, also emitted by acpi-video, ignore 162 163# Predator PH 315-52 164evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPredator*PH*315-52:* 165 KEYBOARD_KEY_ef=kbdillumup # Fn+F10 166 KEYBOARD_KEY_f0=kbdillumdown # Fn+F9 167 168# Travelmate B311-31, B311R-31, B311RN-31 169evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMateB311-31*:pvr* 170evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMateB311R-31*:pvr* 171evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMateB311RN-31*:pvr* 172 KEYBOARD_KEY_8a=f20 # Microphone mute 173 174# Travelmate C300 175evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:* 176 KEYBOARD_KEY_67=f24 # FIXME: rotate screen 177 KEYBOARD_KEY_68=up 178 KEYBOARD_KEY_69=down 179 KEYBOARD_KEY_6b=fn 180 KEYBOARD_KEY_6c=screenlock # FIXME: lock tablet device/buttons 181 182# Travelmate P648-G2-MG, P648-G3-M and P645-S 183evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P648-G2-MG*:* 184evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P648-G3-M*:* 185evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P645-S*:* 186 KEYBOARD_KEY_8a=f20 # Microphone mute button; should be micmute 187 188# on some models this isn't brightnessup 189evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5210*:* 190evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5220*:* 191evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5610*:* 192evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5620*:* 193evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5720*:* 194evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*4720*:* 195evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*6593:* 196evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*1640:* 197 KEYBOARD_KEY_ee=screenlock 198 199evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:* 200 KEYBOARD_KEY_a9=!switchvideomode # Fn+F5 201 202# Packard Bell and Gateway models 203evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pn*:* 204evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPackard*Bell*:pn*:* 205 KEYBOARD_KEY_86=wlan # Fn+F3 or Fn+Q for communication key 206 207########################################################### 208# Alienware 209########################################################### 210 211# Alienware/Dell reserves these keys; safe to apply on all their devices 212evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*:* 213 KEYBOARD_KEY_81=f21 # Touchpad toggle 214 KEYBOARD_KEY_8a=ejectcd 215 KEYBOARD_KEY_bf=!prog1 # graphics amplifier, cable plug-in event 216 KEYBOARD_KEY_c1=!prog2 # graphics amplifier, undock-button event 217 KEYBOARD_KEY_c2=!power # graphics amplifier, surprise undock event 218 219# Alienware M17xR3 laptops 220evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pnM17xR3:* 221 KEYBOARD_KEY_89=ejectcd 222 223########################################################### 224# Asus 225########################################################### 226 227evdev:atkbd:dmi:bvn*:bvr*:bd*:svnASUS:pn*:* 228 KEYBOARD_KEY_ed=volumeup 229 KEYBOARD_KEY_ee=volumedown 230 KEYBOARD_KEY_ef=mute 231 232evdev:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:* 233evdev:name:Eee PC WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:* 234evdev:name:Asus Laptop extra buttons:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:* 235 KEYBOARD_KEY_6b=f21 # Touchpad Toggle 236 KEYBOARD_KEY_7c=f20 # Remap micmute to f20 237 238# USB keyboard in Asus FX503VD 239evdev:input:b0003v0B05p1869* 240 KEYBOARD_KEY_ff31007c=f20 # Remap micmute to f20 241 242# Asus TF103C misses the home button in its PNP0C40 GPIO resources 243# causing the volume-button mappings to be off by one, correct this 244evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnASUSTeKCOMPUTERINC.:pnTF103C*:* 245 KEYBOARD_KEY_1=volumeup 246 247evdev:name:gpio-keys:phys:gpio-keys/input0:ev:100003:dmi:*:svnASUSTeKCOMPUTERINC.:pnTF103C*:* 248 KEYBOARD_KEY_0=volumedown 249 250########################################################### 251# BenQ 252########################################################### 253 254evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*BenQ*:pn*Joybook*R22*:* 255 KEYBOARD_KEY_6e=wlan 256 257########################################################### 258# Clevo 259########################################################### 260 261evdev:atkbd:dmi:bvn*:bvr*:bd*:svnNotebook:pnW65_67SZ:* 262 KEYBOARD_KEY_a0=!mute 263 KEYBOARD_KEY_a2=!playpause 264 KEYBOARD_KEY_ae=!volumedown 265 KEYBOARD_KEY_b0=!volumeup 266 267########################################################### 268# Compal 269########################################################### 270 271evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCOMPAL:pnHEL80I:* 272 KEYBOARD_KEY_84=wlan 273 274########################################################### 275# COMPAQ 276########################################################### 277 278evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*E500*:* 279evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*Evo*N*:* 280 KEYBOARD_KEY_a3=www # I key 281 KEYBOARD_KEY_9a=search 282 KEYBOARD_KEY_9e=email 283 KEYBOARD_KEY_9f=homepage 284 285evdev:input:b0003v049Fp0051* 286evdev:input:b0003v049Fp008D* 287 KEYBOARD_KEY_0c0011=presentation 288 KEYBOARD_KEY_0c0012=addressbook 289 KEYBOARD_KEY_0c0013=info 290 KEYBOARD_KEY_0c0014=prog1 291 KEYBOARD_KEY_0c0015=messenger 292 293########################################################### 294# Cube 295########################################################### 296 297evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:bvn*:bvr*:bd*:svncube:pni1-TF:* 298 KEYBOARD_KEY_0=leftmeta 299 KEYBOARD_KEY_1=power 300 301########################################################### 302# Dell 303########################################################### 304 305evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pn*:* 306 KEYBOARD_KEY_81=playpause # Play/Pause 307 KEYBOARD_KEY_82=stopcd # Stop 308 KEYBOARD_KEY_83=previoussong # Previous song 309 KEYBOARD_KEY_84=nextsong # Next song 310 KEYBOARD_KEY_85=brightnessdown # Fn+Down Brightness Down 311 KEYBOARD_KEY_86=brightnessup # Fn+Up Brightness Up 312 KEYBOARD_KEY_87=battery # Fn+F3 battery icon 313 KEYBOARD_KEY_88=unknown # Fn+F2 Turn On/Off Wireless - handled in hardware 314 KEYBOARD_KEY_89=ejectclosecd # Fn+F10 Eject CD 315 KEYBOARD_KEY_8a=suspend # Fn+F1 hibernate 316 KEYBOARD_KEY_8b=switchvideomode # Fn+F8 CRT/LCD (high keycode: "displaytoggle") 317 KEYBOARD_KEY_8c=unknown # Fn+Right Auto Brightness 318 KEYBOARD_KEY_8f=switchvideomode # Fn+F7 aspect ratio 319 KEYBOARD_KEY_90=previoussong # Front panel previous song 320 KEYBOARD_KEY_91=prog1 # Wi-Fi Catcher (Dell-specific) 321 KEYBOARD_KEY_92=media # MediaDirect button (house icon) 322 KEYBOARD_KEY_93=unknown # FIXME Fn+Left Auto Brightness 323 KEYBOARD_KEY_95=camera # Shutter button - Takes a picture if optional camera available 324 KEYBOARD_KEY_97=email # Tablet email button 325 KEYBOARD_KEY_98=f21 # FIXME: Tablet screen rotation 326 KEYBOARD_KEY_99=nextsong # Front panel next song 327 KEYBOARD_KEY_9a=setup # Tablet tools button 328 KEYBOARD_KEY_9b=switchvideomode # Display toggle button 329 KEYBOARD_KEY_9e=f21 # Touchpad toggle 330 KEYBOARD_KEY_a2=playpause # Front panel play/pause 331 KEYBOARD_KEY_a4=stopcd # Front panel stop 332 KEYBOARD_KEY_ed=media # MediaDirect button 333 KEYBOARD_KEY_d8=screenlock # FIXME: Tablet lock button 334 KEYBOARD_KEY_d9=f21 # Touchpad toggle 335 336# 337evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*910:* 338evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*101[012]:* 339evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1110:* 340evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1210:* 341 KEYBOARD_KEY_84=wlan 342 343# Dell Inspiron 11 3168 344evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron11-3168:pvr* 345 KEYBOARD_KEY_c7=!home # Fn-LeftArrow 346 KEYBOARD_KEY_cf=!end # Fn-RightArrow 347 KEYBOARD_KEY_c9=!pageup # Fn-UpArrow 348 KEYBOARD_KEY_d1=!pagedown # Fn-DownArrow 349 350# Dell Inspiron 1520 and Latitude 2110 351evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1520:* 352evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*2110:* 353 KEYBOARD_KEY_85=unknown # Brightness Down, also emitted by acpi-video, ignore 354 KEYBOARD_KEY_86=unknown # Brightness Up, also emitted by acpi-video, ignore 355 356# Dell Inspiron 537* 357evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron537*:* 358 KEYBOARD_KEY_88=!wlan # Fn-PrtScr rfkill 359 360# Latitude XT2 361evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:* 362 KEYBOARD_KEY_9b=up # tablet rocker up 363 KEYBOARD_KEY_9e=enter # tablet rocker press 364 KEYBOARD_KEY_9f=back # tablet back 365 KEYBOARD_KEY_a3=down # tablet rocker down 366 367evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnStudio*155[78]:* 368 KEYBOARD_KEY_a0=! # mute 369 KEYBOARD_KEY_ae=! # volume down 370 KEYBOARD_KEY_b0=! # volume up 371 372# Dell Touchpad 373evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:* 374evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:* 375 KEYBOARD_KEY_88=! # wireless switch 376 KEYBOARD_KEY_9e=!f21 377 378# Dell Latitude E7* 379evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:* 380 KEYBOARD_KEY_88=unknown # Fn-PrtScr rfkill - handled in HW 381 382# Dell XPS 383evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:* 384 KEYBOARD_KEY_8c=!unknown 385 386# Dell XPS L702x 387evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDellInc.:pnDellSystemXPSL702X:* 388 KEYBOARD_KEY_84=prog1 389 KEYBOARD_KEY_85=prog2 390 391# Dell XPS12 9Q33 392evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS12-9Q33*:* 393 KEYBOARD_KEY_88=wlan 394 KEYBOARD_KEY_65=direction # Screen Rotate 395 396# Dell Latitude microphone mute 397evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:* 398# Dell Precision microphone mute 399evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:* 400# Dell XPS microphone mute 401evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:* 402 KEYBOARD_KEY_100150=f20 # Mic mute toggle, should be micmute 403 404# Dell Latitude privacy microphone mute 405evdev:name:Dell Privacy Driver:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:* 406# Dell Precision privacy microphone mute 407evdev:name:Dell Privacy Driver:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:* 408 KEYBOARD_KEY_120001=f20 # Mic mute toggle, should be micmute 409 410########################################################### 411# Everex 412########################################################### 413 414evdev:atkbd:dmi:bvn*:bvr*:bd*:svnEverex:pnXT5000*:* 415 KEYBOARD_KEY_5c=media 416 KEYBOARD_KEY_65=f21 # Fn+F5 Touchpad toggle 417 KEYBOARD_KEY_67=prog3 # Fan speed control button 418 KEYBOARD_KEY_6f=brightnessup 419 KEYBOARD_KEY_7f=brightnessdown 420 KEYBOARD_KEY_b2=www 421 KEYBOARD_KEY_ec=mail 422 423########################################## 424# Fujitsu 425########################################## 426 427evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*M*:* 428 KEYBOARD_KEY_97=prog2 429 KEYBOARD_KEY_9f=prog1 430 431evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAmilo*Li*1718:* 432 KEYBOARD_KEY_d6=wlan 433 434# Amilo Li 2732 435evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*Li*2732:* 436 KEYBOARD_KEY_d9=brightnessdown # Fn+F8 brightness down 437 KEYBOARD_KEY_ef=brightnessup # Fn+F9 brightness up 438 KEYBOARD_KEY_a9=switchvideomode # Fn+F10 Cycle between available video outputs 439 440# Amilo Pa 2548 441evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pa*2548*:* 442 KEYBOARD_KEY_e0=volumedown 443 KEYBOARD_KEY_e1=volumeup 444 KEYBOARD_KEY_e5=prog1 445 446# Amilo Pro Edition V3505 447evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*Edition*V3505*:* 448 KEYBOARD_KEY_a5=help # Fn+F1 449 KEYBOARD_KEY_a9=switchvideomode # Fn+F3 450 KEYBOARD_KEY_d9=brightnessdown # Fn+F8 451 KEYBOARD_KEY_e0=brightnessup # Fn+F9 452 453# Amilo Pro v3205 454evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*V3205*:* 455 KEYBOARD_KEY_f4=f21 # FIXME: silent-mode decrease CPU/GPU clock 456 KEYBOARD_KEY_f7=switchvideomode # Fn+F3 457 458# Amilo Si 1520 459evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*Amilo*Si*1520*:* 460 KEYBOARD_KEY_e1=wlan 461 KEYBOARD_KEY_f3=wlan 462 KEYBOARD_KEY_ee=brightnessdown 463 KEYBOARD_KEY_e0=brightnessup 464 KEYBOARD_KEY_e2=bluetooth 465 KEYBOARD_KEY_f7=video 466 467# Esprimo Mobile V5 468evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V5*:* 469 KEYBOARD_KEY_a9=switchvideomode 470 KEYBOARD_KEY_d9=brightnessdown 471 KEYBOARD_KEY_df=sleep 472 KEYBOARD_KEY_ef=brightnessup 473 474# Esprimo Mobile V6 475evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V6*:* 476 KEYBOARD_KEY_ce=brightnessup 477 KEYBOARD_KEY_ef=brightnessdown 478 479########################################################### 480# GIGABYTE 481########################################################### 482 483evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pnU2442:* 484 KEYBOARD_KEY_a0=! # mute 485 486########################################################### 487# Gemini 488########################################################### 489 490evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGeminiDevices:pnNC14V1006:* 491 KEYBOARD_KEY_9c=enter 492 493########################################################### 494# Genius 495########################################################### 496 497# Slimstar 320 498evdev:input:b0003v0458p0708* 499 KEYBOARD_KEY_0900f0=scrollup 500 KEYBOARD_KEY_0900f1=scrolldown 501 KEYBOARD_KEY_0900f3=back 502 KEYBOARD_KEY_0900f2=forward 503 KEYBOARD_KEY_0900f5=wordprocessor 504 KEYBOARD_KEY_0900f6=spreadsheet 505 KEYBOARD_KEY_0900f4=presentation 506 KEYBOARD_KEY_0c0223=www 507 KEYBOARD_KEY_0900f7=chat 508 KEYBOARD_KEY_0900fb=prog1 509 KEYBOARD_KEY_0900f8=close 510 KEYBOARD_KEY_0900f9=graphicseditor 511 KEYBOARD_KEY_0900fd=scale 512 KEYBOARD_KEY_0900fc=screenlock 513 514########################################################### 515# Google 516########################################################### 517 518# Google Hangouts Meet speakermic 519evdev:input:b0003v18D1p8001* 520 KEYBOARD_KEY_b002f=reserved # Disable micmute key 521 522########################################################### 523# Hewlett Packard 524########################################################### 525 526evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:* 527evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*:* 528 KEYBOARD_KEY_81=fn_esc 529 KEYBOARD_KEY_89=battery # Fn+F8 530 KEYBOARD_KEY_8a=screenlock # Fn+F6 531 KEYBOARD_KEY_8b=camera 532 KEYBOARD_KEY_8c=media # music 533 KEYBOARD_KEY_8e=dvd 534 KEYBOARD_KEY_b1=help 535 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness 536 KEYBOARD_KEY_d7=wlan 537 KEYBOARD_KEY_92=brightnessdown # Fn+F7 (Fn+F9 on 6730b) 538 KEYBOARD_KEY_97=brightnessup # Fn+F8 (Fn+F10 on 6730b) 539 KEYBOARD_KEY_ee=switchvideomode # Fn+F4 540 541# Tablet 542evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][aA][bB][lL][eE][tT]*:* 543 KEYBOARD_KEY_82=prog2 # Funny Key 544 KEYBOARD_KEY_83=prog1 # Q 545 KEYBOARD_KEY_84=tab 546 KEYBOARD_KEY_85=esc 547 KEYBOARD_KEY_86=pageup 548 KEYBOARD_KEY_87=pagedown 549 550# Pavilion 551evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:* 552 KEYBOARD_KEY_88=media # FIXME: quick play 553 KEYBOARD_KEY_b7=print 554 KEYBOARD_KEY_d8=!f23 # touchpad off 555 KEYBOARD_KEY_d9=!f22 # touchpad on 556 557evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*Pavilion*dv7*Notebook*PC:* 558 KEYBOARD_KEY_b7=print 559 KEYBOARD_KEY_c2=media # FIXME: quick play 560 KEYBOARD_KEY_c6=break 561 KEYBOARD_KEY_94=reserved 562 563# Pavilion 13 x360 (Tablet mode and SYSRQ key) 564evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*13*x360*:* 565 KEYBOARD_KEY_d7=!f22 # touchpad off 566 KEYBOARD_KEY_d9=unknown 567 KEYBOARD_KEY_d2=sysrq # Fn+Print = SYSRQ 568 569# Spectre x360 13 (Prevents random airplane mode activation) 570evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360*13*:* 571evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360Convertible*:* 572 KEYBOARD_KEY_d7=unknown 573 574# Spectre x360 13 575evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:* 576# ENVY x360 13 577evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:* 578 KEYBOARD_KEY_82=f20 # Microphone mute button, should be micmute 579 580# HP Elite x2 1013 G3 581evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:* 582 KEYBOARD_KEY_f8=unknown # rfkill is also reported by HP Wireless hotkeys 583 KEYBOARD_KEY_64=calendar 584 KEYBOARD_KEY_81=f20 # Microphone mute button 585 KEYBOARD_KEY_ee=switchvideomode # Switch display outputs 586 KEYBOARD_KEY_92=brightnessdown 587 KEYBOARD_KEY_97=brightnessup 588 589# HP Laptop 15s-eq0023nl 590evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPLaptop15s-eq0*:sku9MG38EA#ABZ:* 591 KEYBOARD_KEY_9d=102nd # Greater than/Less than 592 593# Elitebook 594evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Compaq*:* 595evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*EliteBook*:* 596evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2230s*:* 597 KEYBOARD_KEY_88=presentation 598 KEYBOARD_KEY_d9=help # I key (high keycode: "info") 599 600# Presario 601evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:* 602 KEYBOARD_KEY_d8=f21 603 KEYBOARD_KEY_d9=f21 604 605# 2510p 2530p 606evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2510p*:* 607evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2530p*:* 608evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*G60*Notebook*PC:* 609 KEYBOARD_KEY_d8=!f23 # touchpad off 610 KEYBOARD_KEY_d9=!f22 # touchpad on 611 612# 2570p 613evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:* 614 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 615 616# Elitebook 2760p 617evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2760p*:* 618 KEYBOARD_KEY_89=battery # Fn+F8 619 KEYBOARD_KEY_f8=unknown # rfkill is also reported by HP Wireless hotkeys 620 KEYBOARD_KEY_86=volumeup 621 KEYBOARD_KEY_87=volumedown 622 KEYBOARD_KEY_92=brightnessdown 623 KEYBOARD_KEY_97=brightnessup 624 KEYBOARD_KEY_d8=!f23 # touchpad off 625 KEYBOARD_KEY_d9=!f22 # touchpad on 626 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness 627 628# TX2 629evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][xX]2*:* 630 KEYBOARD_KEY_c2=media 631 KEYBOARD_KEY_d8=!f23 # Toggle touchpad button on tx2 (OFF) 632 KEYBOARD_KEY_d9=!f22 # Toggle touchpad button on tx2 (ON) 633 634# Presario 2100 635evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnPresario*2100*:* 636 KEYBOARD_KEY_f0=help 637 KEYBOARD_KEY_f1=screenlock 638 KEYBOARD_KEY_f3=search 639 640# Elitebook 8440p 641evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8440p:* 642 KEYBOARD_KEY_88=www 643 KEYBOARD_KEY_a0=mute 644 KEYBOARD_KEY_ae=volumedown 645 KEYBOARD_KEY_b0=volumeup 646 KEYBOARD_KEY_ec=mail 647 648# Elitebook 8460p 649evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8460p:* 650 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 651 KEYBOARD_KEY_b3=prog1 # Fn+F11 - Ambient Light Sensor button 652 KEYBOARD_KEY_b1=prog2 # Fn+ESC - System information button 653 654# HDX9494nr 655evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHDX9494NR:* 656 KEYBOARD_KEY_b2=www # Fn+F3 657 KEYBOARD_KEY_d8=!f23 # touchpad off 658 KEYBOARD_KEY_d9=!f22 # touchpad on 659 660# HP EliteBook 725 G2 661evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPLicrice:* 662# HP EliteBook 663evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBook*:* 664evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteBook*:* 665# HP Elite x360 666evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPElite*x360*:* 667# HP Elite Dragonfly 668evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteDragonfly*:* 669# HP ProBook 440 G2 670evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP440G2:* 671# HP ProBook 672evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook*:* 673evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHP*ProBook*:* 674# HP ZBook 675evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook*:* 676evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPZBook*:* 677 KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute 678 679# HP ZBook Studio G5 680evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPZBookStudioG5*:* 681 KEYBOARD_KEY_64=calendar # Calendar icon (Fn + F12) 682 KEYBOARD_KEY_6d=displaytoggle # Display icon 683 KEYBOARD_KEY_66=connect # Pickup phone button → connect → XF86Go 684 KEYBOARD_KEY_65=cancel # Hangup phone button → cancel → Cancel 685 686# HP ZBook 15 G2 687evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook15G2:* 688 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 689 690# HP ProBook 11 G1 691evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPProBook11G1:* 692 KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute 693 KEYBOARD_KEY_d8=f21 # touchpad toggle 694 KEYBOARD_KEY_d9=f21 # touchpad toggle 695 696# HP ZBook Studio G4 697evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPZBookStudioG4:* 698 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 699 700# HP EliteBook Folio 1040 G2 701evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBookFolio1040G2:* 702 KEYBOARD_KEY_d8=!f23 # touchpad off 703 KEYBOARD_KEY_d9=!f22 # touchpad on 704 705# HP EliteBook Folio G1 706evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPEliteBookFolioG1:* 707 KEYBOARD_KEY_64=calendar 708 KEYBOARD_KEY_81=f20 709 710# HP EliteBook 845 G7 711evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteBook845G7*:pvr* 712 KEYBOARD_KEY_68=unknown # Fn+F12 HP Programmable Key 713 714# HP ProBook 650 715evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook*650*:* 716 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 717 718# HP ProBook 6555b 719evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard:pnHPProBook6555b:* 720 KEYBOARD_KEY_b2=www # Earth 721 722# HP ProBook 440 G3 723evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*440*G3*:* 724# HP ProBook 640 G2 725evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*640*G2*:* 726 KEYBOARD_KEY_85=unknown # lid close; also reported via special evdev 727 KEYBOARD_KEY_f8=unknown # rf kill; also reported via special evdev 728 729# HP ProBook 645 G4 730evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*645*G4*:* 731 KEYBOARD_KEY_73=slash # Slash key 732 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 733 734# HP ProBook 455 G5 735evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*455*G5*:* 736 KEYBOARD_KEY_85=unknown # lid close; also reported via special evdev 737 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 738 739# HP ProBook 11G2 740evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPProBook11G2*:pvr* 741 KEYBOARD_KEY_d8=!f23 # Fn+F2: touchpad off 742 KEYBOARD_KEY_d9=!f22 # Fn+F2: touchpad on 743 744# HP mt44 Mobile Thin Client 745evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*mt44*Mobile*Thin*Client*:* 746 KEYBOARD_KEY_64=calendar # Calendar icon (Fn + F12) 747 KEYBOARD_KEY_6d=displaytoggle # Display icon 748 KEYBOARD_KEY_66=connect # Pickup phone button → connect → XF86Go 749 KEYBOARD_KEY_65=cancel # Hangup phone button → cancel → Cancel 750 KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute 751 KEYBOARD_KEY_85=unknown # lid close; also reported via special evdev 752 KEYBOARD_KEY_f8=wlan # Wireless HW switch button 753 754# HP Stream 7 755# The ACPI tables contains a gpio-keys entry for a non connected GPIO 756# causing spurious events, map this to unknown to disable it 757# older kernels use "ev:23" newer kernels "ev:3" 758evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:* 759evdev:name:gpio-keys:phys:gpio-keys/input0:ev:23:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:* 760 KEYBOARD_KEY_0=unknown 761 762# HP Omen 763evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnOMEN*:pvr* 764 KEYBOARD_KEY_a1=!calc 765 766########################################################## 767# Huawei 768########################################################## 769 770# Huawei WMI hotkeys driver 771evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI:* 772 KEYBOARD_KEY_287=f20 # Microphone mute button, should be micmute 773 774# Huawei MACH-WX9 and EUL-WX9 775evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnMACH-WX9:* 776evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnEUL-WX9:* 777 KEYBOARD_KEY_f7=unknown 778 KEYBOARD_KEY_f8=fn 779 780evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*:pnMACH-WX9:* 781evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*:pnEUL-WX9:* 782 KEYBOARD_KEY_281=unknown # Brightness Down, also emitted by acpi-video, ignore 783 KEYBOARD_KEY_282=unknown # Brightness Up, also emitted by acpi-video, ignore 784 785########################################################### 786# IBM 787########################################################### 788 789# thinkpad_acpi driver 790evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnIBM*:pn*:* 791 KEYBOARD_KEY_01=battery # Fn+F2 792 KEYBOARD_KEY_02=screenlock # Fn+F3 793 KEYBOARD_KEY_03=sleep # Fn+F4 794 KEYBOARD_KEY_04=wlan # Fn+F5 795 KEYBOARD_KEY_06=switchvideomode # Fn+F7 796 KEYBOARD_KEY_07=zoom # Fn+F8 screen expand 797 KEYBOARD_KEY_08=f24 # Fn+F9 undock 798 KEYBOARD_KEY_0b=suspend # Fn+F12 799 KEYBOARD_KEY_0f=brightnessup # Fn+Home 800 KEYBOARD_KEY_10=brightnessdown # Fn+End 801 KEYBOARD_KEY_11=kbdillumtoggle # Fn+PgUp - ThinkLight 802 KEYBOARD_KEY_13=zoom # Fn+Space 803 KEYBOARD_KEY_14=volumeup 804 KEYBOARD_KEY_15=volumedown 805 KEYBOARD_KEY_16=mute 806 KEYBOARD_KEY_17=prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor") 807 808# IBM Thinkpad USB Keyboard Trackpoint 809evdev:input:b0003v04B3p301[89]* 810 KEYBOARD_KEY_900f0=screenlock 811 KEYBOARD_KEY_900f1=wlan 812 KEYBOARD_KEY_900f2=switchvideomode 813 KEYBOARD_KEY_900f3=suspend 814 KEYBOARD_KEY_900f4=brightnessup 815 KEYBOARD_KEY_900f5=brightnessdown 816 KEYBOARD_KEY_900f8=zoom 817 818########################################################### 819# Inventec 820########################################################### 821 822# Symphony 823evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINVENTEC:pnSYMPHONY*6.0/7.0:* 824 KEYBOARD_KEY_f3=prog2 825 KEYBOARD_KEY_f4=prog1 826 827########################################################### 828# Lenovo 829########################################################### 830 831# thinkpad_acpi driver 832evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:* 833 KEYBOARD_KEY_01=screenlock 834 KEYBOARD_KEY_02=battery 835 KEYBOARD_KEY_03=sleep 836 KEYBOARD_KEY_04=wlan 837 KEYBOARD_KEY_06=switchvideomode 838 KEYBOARD_KEY_07=f21 839 KEYBOARD_KEY_08=f24 840 KEYBOARD_KEY_0b=suspend 841 KEYBOARD_KEY_0f=brightnessup 842 KEYBOARD_KEY_10=brightnessdown 843 KEYBOARD_KEY_11=kbdillumtoggle 844 KEYBOARD_KEY_13=zoom 845 KEYBOARD_KEY_14=volumeup 846 KEYBOARD_KEY_15=volumedown 847 KEYBOARD_KEY_16=mute 848 KEYBOARD_KEY_17=prog1 849 KEYBOARD_KEY_1a=f20 # Microphone mute button; should be micmute 850 KEYBOARD_KEY_45=bookmarks 851 852# ThinkPad Keyboard with TrackPoint 853evdev:input:b0003v17EFp6009* 854 KEYBOARD_KEY_090012=screenlock # Fn+F2 855 KEYBOARD_KEY_090013=battery # Fn+F3 856 KEYBOARD_KEY_090014=wlan # Fn+F5 857 KEYBOARD_KEY_090016=switchvideomode # Fn+F7 858 KEYBOARD_KEY_090017=f21 # Fn+F8 touchpad toggle 859 KEYBOARD_KEY_090019=suspend # Fn+F12 860 KEYBOARD_KEY_09001a=brightnessup # Fn+Home 861 KEYBOARD_KEY_09001b=brightnessdown # Fn+End 862 KEYBOARD_KEY_09001d=zoom # Fn+Space 863 KEYBOARD_KEY_090011=prog1 # ThinkVantage button 864 KEYBOARD_KEY_090015=camera # Fn+F6 headset/camera VoIP key ?? 865 KEYBOARD_KEY_090010=f20 # Microphone mute button; should be micmute 866 867# Lenovo 3000 868evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:* 869 KEYBOARD_KEY_8b=switchvideomode # Fn+F7 video 870 KEYBOARD_KEY_96=wlan # Fn+F5 wireless 871 KEYBOARD_KEY_97=sleep # Fn+F4 suspend 872 KEYBOARD_KEY_98=suspend # Fn+F12 hibernate 873 KEYBOARD_KEY_b4=prog1 # Lenovo Care 874 875# "Lenovo Care" Key of the 3000 N200 876evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn0769AP2:pvr3000N200:* 877 KEYBOARD_KEY_b4=prog1 878 879# lenovo-ideapad 880evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:* 881evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:* 882 KEYBOARD_KEY_81=rfkill # does nothing in BIOS 883 KEYBOARD_KEY_83=display_off # BIOS toggles screen state 884 KEYBOARD_KEY_b9=brightnessup # does nothing in BIOS 885 KEYBOARD_KEY_ba=brightnessdown # does nothing in BIOS 886 KEYBOARD_KEY_f1=camera # BIOS toggles camera power 887 KEYBOARD_KEY_f2=f21 # touchpad toggle (key alternately emits F2 and F3) 888 KEYBOARD_KEY_f3=f21 889 890# Thinkpad X200_Tablet 891evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*:* 892 KEYBOARD_KEY_5d=menu 893 KEYBOARD_KEY_63=fn 894 KEYBOARD_KEY_66=screenlock 895 KEYBOARD_KEY_67=cyclewindows # bezel circular arrow 896 KEYBOARD_KEY_68=setup # bezel setup / menu 897 KEYBOARD_KEY_6c=direction # rotate screen 898 899# ThinkPad X6 Tablet 900evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*:* 901 KEYBOARD_KEY_6c=direction # rotate 902 KEYBOARD_KEY_68=leftmeta # toolbox 903 KEYBOARD_KEY_6b=esc # escape 904 KEYBOARD_KEY_6d=right # right on d-pad 905 KEYBOARD_KEY_6e=left # left on d-pad 906 KEYBOARD_KEY_71=up # up on d-pad 907 KEYBOARD_KEY_6f=down # down on d-pad 908 KEYBOARD_KEY_69=enter # enter on d-pad 909 910# ThinkPad X41 Tablet 911evdev:atkbd:dmi:bvn*:bvr*:bd*:svnIBM*:pn18666TU:* 912 KEYBOARD_KEY_6c=direction # rotate 913 KEYBOARD_KEY_68=leftmeta # toolbox 914 KEYBOARD_KEY_6b=esc # escape 915 KEYBOARD_KEY_69=enter # enter on d-pad 916 917# IdeaPad 918evdev:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:* 919 KEYBOARD_KEY_0d=rfkill # airplane mode switch (toggle all wireless devices) 920 KEYBOARD_KEY_08=f20 # micmute 921 KEYBOARD_KEY_42=f23 922 KEYBOARD_KEY_43=f22 923 924evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:* 925 KEYBOARD_KEY_95=media 926 KEYBOARD_KEY_a3=play 927 928evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:* 929 KEYBOARD_KEY_f1=f21 930 KEYBOARD_KEY_ce=f20 # micmute 931 932evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:* 933 KEYBOARD_KEY_a0=!mute 934 KEYBOARD_KEY_ae=!volumedown 935 KEYBOARD_KEY_b0=!volumeup 936 937evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPadFlex5*:* 938 KEYBOARD_KEY_a0=!mute 939 KEYBOARD_KEY_ae=!volumedown 940 KEYBOARD_KEY_b0=!volumeup 941 942evdev:atkbd:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:* 943 KEYBOARD_KEY_62=unknown # Touchpad on, also emitted by "Ideapad extra buttons", ignore 944 KEYBOARD_KEY_63=unknown # Touchpad off, also emitted by "Ideapad extra buttons", ignore 945 946# Fix for volume keys on Lenovo Yoga S940 947# For 10th gen it should be pn81Q8 instead of pn81Q7 but 948# I don't have a device to test 949# perhaps pn81Q* would work for both generations 950evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:* 951 KEYBOARD_KEY_a0=!mute 952 KEYBOARD_KEY_ae=!volumedown 953 KEYBOARD_KEY_b0=!volumeup 954 955# Lenovo Y50-70 956evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:* 957 KEYBOARD_KEY_f3=f21 # Fn+F6 (toggle touchpad) 958 959# V480 960evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:* 961 KEYBOARD_KEY_f1=f21 962 963# Lenovo ThinkCentre M800z/M820z/M920z AIO machines 964# key_scancode 00 is KEY_MICMUTE 965evdev:name:Microphone Mute Button:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:* 966 KEYBOARD_KEY_00=f20 967 968# enhanced USB keyboard 969evdev:input:b0003v04B3p301B* 970 KEYBOARD_KEY_90001=prog1 # ThinkVantage 971 KEYBOARD_KEY_90002=screenlock 972 KEYBOARD_KEY_90003=file 973 KEYBOARD_KEY_90004=wordprocessor 974 KEYBOARD_KEY_90005=spreadsheet 975 KEYBOARD_KEY_90006=calc 976 KEYBOARD_KEY_90007=mail 977 KEYBOARD_KEY_90008=www 978 979# Lenovo Ideapad D330-10IGM 980evdev:name:SIPODEV Lenovo HID Device:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:* 981 KEYBOARD_KEY_70073=f21 # Fn+Supr (Touchpad toggle) 982 983########################################################### 984# LG 985########################################################### 986 987# LG Gram 988evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLGElectronics:pn1*.AAS*:* 989 KEYBOARD_KEY_a0=!mute 990 KEYBOARD_KEY_ae=!volumedown 991 KEYBOARD_KEY_b0=!volumeup 992 993########################################################### 994# Logitech 995########################################################### 996 997# 27MHz wireless keyboards, these all have a PID of 00?? and all send c10xx 998# logitech custom consumer usage-page codes. The mappings below are the most 999# common, but some mapping may differ, especially the Fn F1-F12 mappings 1000evdev:input:b0003v046Dp00* 1001 KEYBOARD_KEY_c0183=media # HUT:config, kbd:Media/Music player button 1002 KEYBOARD_KEY_c1001=chat # Messenger button 1003 KEYBOARD_KEY_c1002=camera # Webcam button 1004 KEYBOARD_KEY_c1003=audio # Music Browser button 1005 KEYBOARD_KEY_c1004=video # Video Browser button 1006 KEYBOARD_KEY_c1005=images # Image Browser button 1007 KEYBOARD_KEY_c100a=documents # Document Browser button 1008 KEYBOARD_KEY_c100b=rewind # Rewind button 1009 KEYBOARD_KEY_c100c=fastforward # Fast Forward button 1010 KEYBOARD_KEY_c100f=f14 # Track 1 button → f14 → XF86Launch5 1011 KEYBOARD_KEY_c1010=f15 # Track 2 button → f15 → XF86Launch6 1012 KEYBOARD_KEY_c1011=channeldown # Playlist back button 1013 KEYBOARD_KEY_c1012=channelup # Playlist advance button 1014 KEYBOARD_KEY_c1013=camera # Webcam button 1015 KEYBOARD_KEY_c1014=coffee # Status button 1016 KEYBOARD_KEY_c1015=record # Record symbol button 1017 KEYBOARD_KEY_c1016=sound # Flame/CD burning → sound → XF86AudioPreset 1018 KEYBOARD_KEY_c1017=ejectcd # Eject button 1019 KEYBOARD_KEY_c1018=config # Remote-control ico 1020 KEYBOARD_KEY_c1019=f14 # Preset 1 → f14 → XF86Launch5 1021 KEYBOARD_KEY_c101a=f15 # Preset 2 → f15 → XF86Launch6 1022 KEYBOARD_KEY_c101b=f16 # Preset 3 → f16 → XF86Launch7 1023 KEYBOARD_KEY_c101c=cyclewindows # 2 overlapping windows icon 1024 KEYBOARD_KEY_c101f=zoomout # zoom - button / - side of zoomrocker 1025 KEYBOARD_KEY_c1020=zoomin # zoom + button / + side off zoom rocker 1026 KEYBOARD_KEY_c1021=zoomreset # 100% symbol on kbd left side 1027 KEYBOARD_KEY_c1023=close # [x] symbol on kbd left side 1028 KEYBOARD_KEY_c1027=menu # Hamburger menu icon 1029 KEYBOARD_KEY_c1028=angle # Rotate button 1030 KEYBOARD_KEY_c1029=shuffle # Shuffle button 1031 KEYBOARD_KEY_c102a=back # Back button 1032 KEYBOARD_KEY_c102b=cyclewindows # Empty window icon 1033 KEYBOARD_KEY_c102c=fn # Fn key 1034 KEYBOARD_KEY_c102d=www # www text + magnifierglass icon 1035 KEYBOARD_KEY_c1031=connect # Pickup phone button → connect → XF86Go 1036 KEYBOARD_KEY_c1032=cancel # Hangup phone button → cancel → Cancel 1037 KEYBOARD_KEY_c1041=help # Help text or icon (Fn + F1) 1038 KEYBOARD_KEY_c1042=wordprocessor # Word icon (Fn + F2) 1039 KEYBOARD_KEY_c1043=spreadsheet # Excel icon (Fn + F3) 1040 KEYBOARD_KEY_c1044=presentation # Presentation icon (Fn + F4) 1041 KEYBOARD_KEY_c1045=undo # Undo Icon (Fn + F5) 1042 KEYBOARD_KEY_c1046=redo # Redo Icon (Fn + F6) 1043 KEYBOARD_KEY_c1047=print # Printer Icon (Fn + F7) 1044 KEYBOARD_KEY_c1048=save # Floppy Icon (Fn + F8) 1045 KEYBOARD_KEY_c1049=prog1 # Smartkey A (Fn + F9) → XF86Launch1 1046 KEYBOARD_KEY_c104a=prog2 # Smartkey B (Fn + F10) → XF86Launch2 1047 KEYBOARD_KEY_c104b=prog3 # Smartkey C (Fn + F11) → XF86Launch3 1048 KEYBOARD_KEY_c104c=prog4 # Smartkey D (Fn + F12) → XF86Launch4 1049 1050# Cordless Access Keyboard (27 MHz, modelnumber Y-RH35) 1051evdev:input:b0003v046Dp0042* 1052 KEYBOARD_KEY_c1041=new 1053 KEYBOARD_KEY_c1042=reply 1054 KEYBOARD_KEY_c1043=forward 1055 KEYBOARD_KEY_c1044=send 1056 KEYBOARD_KEY_c1045=previoussong 1057 KEYBOARD_KEY_c1046=nextsong 1058 KEYBOARD_KEY_c1047=playpause 1059 KEYBOARD_KEY_c1048=stopcd 1060 KEYBOARD_KEY_c1049=file 1061 KEYBOARD_KEY_c104a=documents 1062 KEYBOARD_KEY_c104b=images 1063 KEYBOARD_KEY_c104c=audio 1064 1065# "Cordless Rechargeable Desktop" keyboard (27 MHz, modelnumber Y-RK49) 1066evdev:input:b0003v046Dp0045* 1067 KEYBOARD_KEY_c1041=new 1068 KEYBOARD_KEY_c1042=reply 1069 KEYBOARD_KEY_c1043=forward 1070 KEYBOARD_KEY_c1044=send 1071 KEYBOARD_KEY_c1049=file 1072 KEYBOARD_KEY_c104a=documents 1073 KEYBOARD_KEY_c104b=images 1074 KEYBOARD_KEY_c104c=audio 1075 1076# S510 keyboard (27 MHz, modelnumber Y-RAK73) 1077evdev:input:b0003v046Dp0056* 1078 KEYBOARD_KEY_c1041=battery # Battery icon (Fn + F1) 1079 1080# MX3000 keyboard (27 MHz, modelnumber Y-RAM74) 1081# We ignore the scroll up / down keypress events since these buttons also 1082# generate scroll-wheel events and we do not want to generate duplicate events 1083# Note if the "Special Button Function" in the HID++ features register gets 1084# cleared then the scroll-wheel events for these buttons go away and then 1085# tilting the scrollwheel left/right starts sending c1022 / c1024 events 1086evdev:input:b0003v046Dp0057* 1087 KEYBOARD_KEY_c1041=battery # Battery icon (Fn + F1) 1088 1089#KEYBOARD_KEY_c101d=scrolldown # Button below scrollwheel (see note above) 1090#KEYBOARD_KEY_c101e=scrollup # Button above scrollwheel (see note above) 1091#KEYBOARD_KEY_c1022=scrollleft # Left click on scroll-wheel (see note above) 1092#KEYBOARD_KEY_c1024=scrollright # Right click on scroll-wheel (see note above) 1093 1094# MX3200 keyboard (27 MHz, modelnumber Y-RAV80) 1095evdev:input:b0003v046Dp005C* 1096 KEYBOARD_KEY_c1001=phone # VOIP button 1097 KEYBOARD_KEY_c1016=record # Record button 1098 KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1) 1099 KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2) 1100 KEYBOARD_KEY_c1043=calendar # Calendar icon (Fn + F3) 1101 KEYBOARD_KEY_c1044=documents # My Documents icon (Fn + F4) 1102 KEYBOARD_KEY_c1045=prog1 # Smartkey A (Fn + F5) → XF86Launch1 1103 KEYBOARD_KEY_c1046=prog2 # Smartkey B (Fn + F6) → XF86Launch2 1104 KEYBOARD_KEY_c1047=prog3 # Smartkey C (Fn + F7) → XF86Launch3 1105 KEYBOARD_KEY_c1048=prog4 # Smartkey D (Fn + F8) → XF86Launch4 1106 1107# EX100 keyboard (27 MHz, modelnumber Y-RBH94) 1108evdev:input:b0003v046Dp0065* 1109 KEYBOARD_KEY_c104b=battery # Battery icon (Fn + F11) 1110 KEYBOARD_KEY_c104c=ejectcd # Eject icon (Fn + F12) 1111 1112# S520 keyboard (27 MHz, modelnumber Y-RBA97) 1113# Note this one uses non-standard codes for FN + F9 - Fn + F12? 1114evdev:input:b0003v046Dp0066* 1115 KEYBOARD_KEY_c100e=prog4 # Smartkey D (Fn + F12) → XF86Launch4 1116 KEYBOARD_KEY_c1019=prog1 # Smartkey A (Fn + F9) → XF86Launch1 1117 KEYBOARD_KEY_c101a=prog2 # Smartkey B (Fn + F10) → XF86Launch2 1118 KEYBOARD_KEY_c101b=prog3 # Smartkey C (Fn + F11) → XF86Launch3 1119 KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1) 1120 KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2) 1121 KEYBOARD_KEY_c1043=presentation # Presentation icon (Fn + F3) 1122 KEYBOARD_KEY_c1044=calendar # Calendar icon (Fn + F4) 1123 KEYBOARD_KEY_c1045=homepage # Home icon (Fn + F5) 1124 KEYBOARD_KEY_c1046=email # Letter icon (Fn + F6) 1125 KEYBOARD_KEY_c1047=search # Magnifying glass icon (Fn + F7) 1126 KEYBOARD_KEY_c1048=config # Window with gear icon (Fn + F8) 1127 KEYBOARD_KEY_c106f=battery # Battery icon 1128 1129# S510 remote control (27 MHz) 1130evdev:input:b0003v046Dp00FE* 1131 KEYBOARD_KEY_c1018=media # Media button 1132 1133# MX5000 keyboard (HID proxy mode and bluetooth matches) 1134evdev:input:b0003v046DpB305* 1135evdev:input:b0005v046DpB305* 1136 KEYBOARD_KEY_c0183=media # HUT says config, kbd says Media 1137 KEYBOARD_KEY_c0230=zoomreset # HUT says fullscreen, kbd says 100% 1138 KEYBOARD_KEY_c1004=send # Send and receive / sync button 1139 KEYBOARD_KEY_c1006=coffee # Status (online/away) button 1140 KEYBOARD_KEY_c1007=camera # Webcam button 1141 KEYBOARD_KEY_c100c=kbd_lcd_menu1 # 1st button below the builtin LCD 1142 KEYBOARD_KEY_c100d=kbd_lcd_menu4 # 4th button below the builtin LCD 1143 KEYBOARD_KEY_c100e=kbd_lcd_menu2 # 2nd button below the builtin LCD 1144 KEYBOARD_KEY_c100f=kbd_lcd_menu3 # 3th button below the builtin LCD 1145 KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1 1146 KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2 1147 KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3 1148 KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4 1149 KEYBOARD_KEY_c1040=fn_esc # Fn mode on/off toggle 1150 1151# Dinovo Edge (HID proxy mode and bluetooth matches) 1152evdev:input:b0003v046DpB309* 1153evdev:input:b0005v046DpB309* 1154 KEYBOARD_KEY_c102c=fn # Fn key 1155 KEYBOARD_KEY_c1038=prog1 # Fn + F9 Smartkey A → XF86Launch1 1156 KEYBOARD_KEY_c1039=prog2 # Fn + F10 Smartkey B → XF86Launch2 1157 KEYBOARD_KEY_c103a=prog3 # Fn + F11 Smartkey C → XF86Launch3 1158 KEYBOARD_KEY_c103b=prog4 # Fn + F12 Smartkey D → XF86Launch4 1159 KEYBOARD_KEY_c1050=phone # Fn + F1 Phone button 1160 1161# MX5500 keyboard (HID proxy mode and bluetooth matches) 1162evdev:input:b0003v046DpB30B* 1163evdev:input:b0005v046DpB30B* 1164 KEYBOARD_KEY_c0183=media # HUT says consumer control configuration, kbd says Media Center 1165 KEYBOARD_KEY_c100e=images # Camera icon, "Photo Gallery" 1166 KEYBOARD_KEY_c100f=config # Window with gear icon 1167 KEYBOARD_KEY_c102c=fn # Fn key 1168 KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1 1169 KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2 1170 KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3 1171 KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4 1172 1173# Logitech K811 1174evdev:input:b0005v046DpB317* 1175 KEYBOARD_KEY_70047=brightnessdown 1176 KEYBOARD_KEY_70048=brightnessup 1177 1178# iTouch 1179evdev:input:b0003v046DpC308* 1180 KEYBOARD_KEY_90001=shop # Shopping 1181 KEYBOARD_KEY_90002=config # iTouch 1182 KEYBOARD_KEY_90003=finance # Finance 1183 KEYBOARD_KEY_90004=prog1 # My Sites 1184 KEYBOARD_KEY_90005=prog2 # Community 1185 KEYBOARD_KEY_c0183=media # Media 1186 1187# Cordless Desktop S510 1188evdev:input:b0003v046DpC50C* 1189 KEYBOARD_KEY_d4=up # zoomin 1190 KEYBOARD_KEY_cc=down # zoomout 1191 1192# Wave cordless 1193evdev:input:b0003v046DpC317* 1194 KEYBOARD_KEY_9001c=scale # expo 1195 KEYBOARD_KEY_9001f=down # zoomout 1196 KEYBOARD_KEY_90020=up # zoomin 1197 KEYBOARD_KEY_9003d=prog1 # gadget 1198 KEYBOARD_KEY_90005=camera 1199 KEYBOARD_KEY_90018=media 1200 KEYBOARD_KEY_90041=wordprocessor 1201 KEYBOARD_KEY_90042=spreadsheet 1202 KEYBOARD_KEY_90043=calendar 1203 KEYBOARD_KEY_90044=prog2 # fn+f4 (program a) 1204 KEYBOARD_KEY_90045=prog3 # fn+f5 (program b) 1205 KEYBOARD_KEY_90046=prog4 # fn+f6 (program c) 1206 KEYBOARD_KEY_90048=messenger # fn+f8 (msn messenger) 1207 KEYBOARD_KEY_9002d=search # fn+f10 (search www) 1208 KEYBOARD_KEY_9004b=find # fn+f11 (search pc) 1209 KEYBOARD_KEY_9004c=ejectclosecd 1210 1211# Wave cordless 1212evdev:input:b0003v046DpC517* 1213 KEYBOARD_KEY_c101f=down # zoomout 1214 KEYBOARD_KEY_c1020=up # zoomin 1215 KEYBOARD_KEY_c1005=camera 1216 KEYBOARD_KEY_c0183=media 1217 KEYBOARD_KEY_c1041=wordprocessor 1218 KEYBOARD_KEY_c1042=spreadsheet 1219 KEYBOARD_KEY_c1043=calendar 1220 KEYBOARD_KEY_c1044=prog2 # fn+f4 (program a) 1221 KEYBOARD_KEY_c1045=prog3 # fn+f5 (program b) 1222 KEYBOARD_KEY_c1046=prog4 # fn+f6 (program c) 1223 KEYBOARD_KEY_c1048=messenger # fn+f8 (msn messenger) 1224 KEYBOARD_KEY_c104a=find # fn+f10 (search www) 1225 KEYBOARD_KEY_c104c=ejectclosecd 1226 1227# Cordless Wave Pro 1228evdev:input:b0003v046DpC529* 1229 KEYBOARD_KEY_0c01b6=camera 1230 KEYBOARD_KEY_0c0183=media 1231 KEYBOARD_KEY_0c0184=wordprocessor 1232 KEYBOARD_KEY_0c0186=spreadsheet 1233 KEYBOARD_KEY_0c018e=calendar 1234 KEYBOARD_KEY_0c0223=homepage 1235 KEYBOARD_KEY_0c01bc=messenger 1236 KEYBOARD_KEY_0c018a=mail 1237 KEYBOARD_KEY_0c0221=search 1238 KEYBOARD_KEY_0c00b8=ejectcd 1239 KEYBOARD_KEY_0c022d=up # zoomin 1240 KEYBOARD_KEY_0c022e=down # zoomout 1241 1242# Logitech Presenter R400 1243evdev:input:b0003v046DpC52D* 1244 KEYBOARD_KEY_070029=presentation 1245 KEYBOARD_KEY_07003e=presentation 1246 KEYBOARD_KEY_070037=displaytoggle 1247 1248# Internet Navigator 1249evdev:input:b0003v046DpC309* 1250 KEYBOARD_KEY_90001=chat # Messenger/SMS 1251 KEYBOARD_KEY_90002=camera # webcam 1252 KEYBOARD_KEY_90003=prog1 # iTouch 1253 KEYBOARD_KEY_90004=shop # Shopping 1254 KEYBOARD_KEY_c0201=new # New (F1) 1255 KEYBOARD_KEY_c0289=reply # Reply mail (F2) 1256 KEYBOARD_KEY_c028b=forwardmail # Forward mail (F3) 1257 KEYBOARD_KEY_c028c=send # Send (F4) 1258 KEYBOARD_KEY_c021a=undo # Undo (F5) 1259 KEYBOARD_KEY_c0279=redo # Redo (F6) 1260 KEYBOARD_KEY_c0208=print # Print (F7) 1261 KEYBOARD_KEY_c0207=save # Save (F8) 1262 KEYBOARD_KEY_c0194=file # My Computer (F9) 1263 KEYBOARD_KEY_c01a7=documents # My Documents (F10) 1264 KEYBOARD_KEY_c01b6=images # My Pictures (F11) 1265 KEYBOARD_KEY_c01b7=audio # My Music (F12) 1266 1267 1268########################################################### 1269# Maxdata 1270########################################################### 1271 1272# Pro 7000 1273evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMAXDATA:pnPro*7000*:* 1274 KEYBOARD_KEY_97=prog2 1275 KEYBOARD_KEY_9f=prog1 1276 KEYBOARD_KEY_a0=mute # Fn+F5 1277 KEYBOARD_KEY_82=www 1278 KEYBOARD_KEY_ec=email 1279 KEYBOARD_KEY_ae=volumedown # Fn+Down 1280 KEYBOARD_KEY_b0=volumeup # Fn+Up 1281 KEYBOARD_KEY_df=suspend # Fn+F2 1282 KEYBOARD_KEY_f5=help 1283 1284########################################################### 1285# Medion 1286########################################################### 1287 1288# Akoya 1289evdev:atkbd:dmi:bvn*:bvr*:svnMEDION*:pnS3409*:* 1290evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnAkoya*:* 1291evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnP6669*:* 1292 KEYBOARD_KEY_a0=!mute 1293 KEYBOARD_KEY_ae=!volumedown 1294 KEYBOARD_KEY_b0=!volumeup 1295 KEYBOARD_KEY_19=!p 1296 KEYBOARD_KEY_df=sleep 1297 1298# FID2060 1299evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDION*:pn*FID2060*:* 1300 KEYBOARD_KEY_6b=channeldown # Thottle Down 1301 KEYBOARD_KEY_6d=channelup # Thottle Up 1302 1303# NB-A555 1304evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:* 1305 KEYBOARD_KEY_63=www # N button 1306 KEYBOARD_KEY_66=prog1 # link 1 button 1307 KEYBOARD_KEY_67=email # envelope button 1308 KEYBOARD_KEY_69=prog2 # link 2 button 1309 1310# Erazer 1311evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMedion*:pnErazer*:* 1312 KEYBOARD_KEY_a0=!mute 1313 KEYBOARD_KEY_ae=!volumedown 1314 KEYBOARD_KEY_b0=!volumeup 1315 1316########################################################### 1317# Microsoft 1318########################################################### 1319 1320# Microsoft Natural Ergonomic Keyboard 4000 1321evdev:input:b0003v045Ep00DB* 1322 KEYBOARD_KEY_c022d=up # zoomin 1323 KEYBOARD_KEY_c022e=down # zoomout 1324 1325# Microsoft (Razer produced) Reclusa keyboard 1326evdev:input:b0003v1532p0200* 1327 KEYBOARD_KEY_c01c9=shuffle 1328 KEYBOARD_KEY_c01ca=up # zoomin 1329 KEYBOARD_KEY_c01cb=down # zoomout 1330 1331########################################################### 1332# MSI (aka "Micro Star") 1333########################################################### 1334 1335evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*:* 1336evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:* 1337 KEYBOARD_KEY_a0=mute # Fn+F9 1338 KEYBOARD_KEY_ae=volumedown # Fn+F7 1339 KEYBOARD_KEY_b0=volumeup # Fn+F8 1340 KEYBOARD_KEY_b2=www # e button 1341 KEYBOARD_KEY_c2=ejectcd 1342 KEYBOARD_KEY_df=sleep # Fn+F12 1343 KEYBOARD_KEY_e2=bluetooth # satellite dish2 1344 KEYBOARD_KEY_e4=f21 # Fn+F3 Touchpad disable 1345 KEYBOARD_KEY_ec=email # envelope button 1346 KEYBOARD_KEY_ee=camera # Fn+F6 camera disable 1347 KEYBOARD_KEY_f6=wlan # satellite dish1 1348 KEYBOARD_KEY_f7=brightnessdown # Fn+F4 1349 KEYBOARD_KEY_f8=brightnessup # Fn+F5 1350 KEYBOARD_KEY_f9=search 1351 1352evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE60*:* 1353evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE70*:* 1354 KEYBOARD_KEY_c2=ejectcd 1355 1356# some MSI models generate ACPI/input events on the LNXVIDEO input devices, 1357# plus some extra synthesized ones on atkbd as an echo of actually changing the 1358# brightness; so ignore those atkbd ones, to avoid loops 1359evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:* 1360evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:* 1361evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:* 1362evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*VR420*:* 1363evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*PR200*:* 1364 KEYBOARD_KEY_f7=reserved 1365 KEYBOARD_KEY_f8=reserved 1366 1367# MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode 1368evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:* 1369 KEYBOARD_KEY_e4=reserved 1370 1371# Keymaps MSI Prestige And MSI Modern FnKeys and Special keys 1372evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Prestige*:* 1373evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Modern*:* 1374 KEYBOARD_KEY_f1=f20 # Fn+F5 Micmute 1375 KEYBOARD_KEY_76=f21 # Fn+F4 Toggle touchpad, sends meta+ctrl+toggle 1376 KEYBOARD_KEY_91=prog1 # Fn+F7 Creation Center, sometime F7 1377 KEYBOARD_KEY_f2=prog2 # Fn+F12 Screen rotation 1378 KEYBOARD_KEY_8d=prog3 # Fn+A Change True Color selections 1379 KEYBOARD_KEY_8c=prog4 # Fn+Z Launch True Color 1380 KEYBOARD_KEY_f5=fn_esc # Fn+esc Toggle the behaviour of Fn keys 1381 KEYBOARD_KEY_97=unknown # Lid close 1382 KEYBOARD_KEY_98=unknown # Lid open 1383 1384evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][aA][rR]*:* 1385 KEYBOARD_KEY_0213=f22 1386 KEYBOARD_KEY_0214=f23 1387 1388########################################## 1389# NEC 1390########################################## 1391 1392# VersaPro VG-S 1393evdev:atkbd:dmi:bvn*:bvr*:bd*:svnNEC:pnPC-VK22TGSGS:pvr* 1394 KEYBOARD_KEY_a8=f21 # Fn+Space touchpad toggle 1395 KEYBOARD_KEY_67=brightnessdown # Fn+F7 brightness down 1396 KEYBOARD_KEY_65=brightnessup # Fn+F8 brightness up 1397 KEYBOARD_KEY_71=battery # Fn+F4 ECO 1398 1399########################################################### 1400# Olimex 1401########################################################### 1402 1403# Teres-I 1404evdev:input:b0003v15BAp003C* 1405 KEYBOARD_KEY_70066=sleep # Fn+F1 1406 KEYBOARD_KEY_700f6=wlan # Fn+F2 1407 KEYBOARD_KEY_700c7=f21 # Fn+F3 touchpad toggle 1408 KEYBOARD_KEY_7006f=brightnessdown # Fn+F7 1409 KEYBOARD_KEY_70070=brightnessup # Fn+F8 1410 KEYBOARD_KEY_7006e=switchvideomode # Fn+F9 1411 1412########################################################### 1413# OLPC 1414########################################################### 1415 1416# XO-1 and XO-1.5 1417evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOLPC:pnXO:* 1418# XO-1.75 and XO-1.4 (sp/ is the Security Processor) 1419evdev:name:AT Translated Set 2 keyboard:phys:sp/serio*/input*:ev:120013:* 1420 KEYBOARD_LED_CAPSLOCK=0 1421 KEYBOARD_LED_NUMLOCK=0 1422 KEYBOARD_KEY_59=fn 1423 KEYBOARD_KEY_81=fn_esc 1424 KEYBOARD_KEY_f9=camera 1425 KEYBOARD_KEY_f8=sound # Fn+CAMERA = Mic 1426 KEYBOARD_KEY_43=brightnessdown 1427 KEYBOARD_KEY_44=brightnessup 1428 KEYBOARD_KEY_57=volumedown 1429 KEYBOARD_KEY_58=volumeup 1430 KEYBOARD_KEY_bb=f1 1431 KEYBOARD_KEY_bc=f2 1432 KEYBOARD_KEY_bd=f3 1433 KEYBOARD_KEY_be=f4 1434 KEYBOARD_KEY_bf=f5 1435 KEYBOARD_KEY_c0=f6 1436 KEYBOARD_KEY_c1=f7 1437 KEYBOARD_KEY_c2=f8 1438 KEYBOARD_KEY_c3=f9 1439 KEYBOARD_KEY_c4=f10 1440 KEYBOARD_KEY_d8=f12 1441 KEYBOARD_KEY_f7=f13 1442 KEYBOARD_KEY_f6=f14 1443 KEYBOARD_KEY_f5=f15 1444 KEYBOARD_KEY_f4=f16 1445 KEYBOARD_KEY_f3=f17 1446 KEYBOARD_KEY_f2=f18 1447 KEYBOARD_KEY_f1=f19 1448 KEYBOARD_KEY_f0=f20 # micmute 1449 KEYBOARD_KEY_ef=f21 1450 KEYBOARD_KEY_ee=chat 1451 KEYBOARD_KEY_e4=chat 1452 KEYBOARD_KEY_dd=menu # Frame 1453 KEYBOARD_KEY_da=prog1 # Fn+Frame 1454 KEYBOARD_KEY_d3=delete 1455 KEYBOARD_KEY_d2=insert 1456 KEYBOARD_KEY_c9=pageup 1457 KEYBOARD_KEY_d1=pagedown 1458 KEYBOARD_KEY_c7=home 1459 KEYBOARD_KEY_cf=end 1460 KEYBOARD_KEY_73=hp 1461 KEYBOARD_KEY_7e=hp 1462 KEYBOARD_KEY_db=leftmeta # left grab 1463 KEYBOARD_KEY_dc=rightmeta # right grab 1464 KEYBOARD_KEY_85=rightmeta # Right grab releases on a different scancode 1465 KEYBOARD_KEY_d6=kbdillumtoggle # Fn+Space 1466 KEYBOARD_KEY_69=rotate_display 1467 KEYBOARD_KEY_65=btn_dpad_up 1468 KEYBOARD_KEY_66=btn_dpad_down 1469 KEYBOARD_KEY_67=btn_dpad_left 1470 KEYBOARD_KEY_68=btn_dpad_right 1471 KEYBOARD_KEY_e5=btn_north 1472 KEYBOARD_KEY_e6=btn_south 1473 KEYBOARD_KEY_e7=btn_west 1474 KEYBOARD_KEY_e8=btn_east 1475 1476########################################################### 1477# Onkyo 1478########################################################### 1479 1480evdev:atkbd:dmi:bvn*:bvr*:bd*:svnONKYO*CORPORATION:pnONKYOPC:* 1481 KEYBOARD_KEY_a0=mute # Fn+D 1482 KEYBOARD_KEY_ae=volumedown # Fn+F 1483 KEYBOARD_KEY_b0=volumeup # Fn+G 1484 KEYBOARD_KEY_df=sleep # Fn+W 1485 KEYBOARD_KEY_e0=bluetooth # Fn+H 1486 KEYBOARD_KEY_e2=cyclewindows # Fn+Esc 1487 KEYBOARD_KEY_ee=battery # Fn+Q 1488 KEYBOARD_KEY_f0=media # Fn+R 1489 KEYBOARD_KEY_f5=switchvideomode # Fn+E 1490 KEYBOARD_KEY_f6=camera # Fn+T 1491 KEYBOARD_KEY_f7=f21 # Fn+Y (touchpad toggle) 1492 KEYBOARD_KEY_f8=brightnessup # Fn+S 1493 KEYBOARD_KEY_f9=brightnessdown # Fn+A 1494 KEYBOARD_KEY_fb=wlan # Fn+J 1495 1496########################################################### 1497# OQO 1498########################################################### 1499 1500# Model 2 1501evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:* 1502 KEYBOARD_KEY_8e=wlan 1503 KEYBOARD_KEY_f0=switchvideomode 1504 KEYBOARD_KEY_f1=mute 1505 KEYBOARD_KEY_f2=volumedown 1506 KEYBOARD_KEY_f3=volumeup 1507 1508########################################################### 1509# Ortek 1510########################################################### 1511 1512# Adesso AKB-805MAC 1513# The key code identifiers used below exactly match the text 1514# labels on the keys/buttons (or standard icons on the buttons 1515# that have no text labels), except as noted. 1516evdev:input:b0003v05A4p9735* 1517 KEYBOARD_KEY_c0015=back 1518 KEYBOARD_KEY_c0012=forward 1519 KEYBOARD_KEY_c000c=stop 1520 KEYBOARD_KEY_c0018=refresh 1521 KEYBOARD_KEY_c00b9=search 1522 KEYBOARD_KEY_c0006=bookmarks # Button labeled "Favorites" 1523 KEYBOARD_KEY_c00a8=homepage # Button labeled "Web/Home" 1524 KEYBOARD_KEY_c0010=mute 1525 KEYBOARD_KEY_c0011=volumedown 1526 KEYBOARD_KEY_c0014=volumeup 1527 KEYBOARD_KEY_c000e=close 1528 KEYBOARD_KEY_c00a7=print 1529 KEYBOARD_KEY_c0013=documents # Button labeled "Stickies" 1530 KEYBOARD_KEY_c000d=find # Button labeled "Sherlock2" 1531 KEYBOARD_KEY_c000f=mail 1532 KEYBOARD_KEY_c000a=calc 1533 KEYBOARD_KEY_c000b=sleep 1534 KEYBOARD_KEY_c0007=previoussong # Button with standard |<< icon 1535 KEYBOARD_KEY_c0008=playpause # Button with standad >/|| icon 1536 KEYBOARD_KEY_c0009=nextsong # Button with standard >>| icon 1537 KEYBOARD_KEY_c00b2=stopcd # Button with standard square box icon 1538 KEYBOARD_KEY_c0016=prog1 # Key labeled "pf1" 1539 KEYBOARD_KEY_c00bb=prog2 # Key labeled "pf2" 1540 KEYBOARD_KEY_c00b8=prog3 # Key labeled "pf3" 1541 1542########################################################### 1543# Pine64 1544########################################################### 1545 1546# Pinebook Pro 1547evdev:input:b0003v258Ap001E* 1548 KEYBOARD_KEY_700a5=brightnessdown 1549 KEYBOARD_KEY_700a6=brightnessup 1550 KEYBOARD_KEY_70066=sleep 1551 1552########################################################### 1553# Plantronics 1554########################################################### 1555 1556# Plantronics .Audio 626 DSP 1557evdev:input:b0003v047FpC006* 1558 KEYBOARD_KEY_b002f=f20 # Microphone mute button; should be micmute 1559 1560########################################################### 1561# Purism 1562########################################################### 1563 1564# If you're using an us layout keyboard in one of the below models of 1565# Purism Librem 13 consider copying this file to /etc/systemd/hwdb.d/ 1566# to enable the following rule according to your model. 1567# 1568# There's a bug in the keyboards firmware and the additional rule 1569# will make your keyboard behave as expected. 1570# 1571# More info: 1572# - https://github.com/systemd/systemd/issues/15360 1573# - https://github.com/systemd/systemd/pull/11516 1574# - https://tracker.pureos.net/T888 1575# 1576# # Purism Librem 13 V2 1577# evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v2*:* 1578# KEYBOARD_KEY_56=backslash 1579# 1580# # Purism Librem 13 V3 1581# evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v3*:* 1582# KEYBOARD_KEY_56=backslash 1583# 1584# # Purism Librem 13 V4 1585# evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v4*:* 1586# KEYBOARD_KEY_56=backslash 1587 1588########################################################### 1589# Quanta 1590########################################################### 1591 1592evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:* 1593 KEYBOARD_KEY_88=media # "quick play 1594 1595########################################################### 1596# Samsung 1597########################################################### 1598 1599evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*:* 1600 KEYBOARD_KEY_74=prog1 # User key 1601 KEYBOARD_KEY_75=www 1602 KEYBOARD_KEY_78=mail 1603 KEYBOARD_KEY_82=!switchvideomode # Fn+F4 CRT/LCD (high keycode: "displaytoggle") 1604 KEYBOARD_KEY_83=!battery # Fn+F2 1605 KEYBOARD_KEY_84=!prog1 # Fn+F5 backlight on/off 1606 KEYBOARD_KEY_86=!wlan # Fn+F9 1607 KEYBOARD_KEY_88=!brightnessup # Fn+Up 1608 KEYBOARD_KEY_89=!brightnessdown # Fn+Down 1609 KEYBOARD_KEY_b1=!prog2 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice) 1610 KEYBOARD_KEY_b3=!prog3 # Fn+F8 switch power mode (battery/dynamic/performance) 1611 KEYBOARD_KEY_b4=!wlan # Fn+F9 (X60P) 1612 KEYBOARD_KEY_c5=!prog3 # Fn+F8 switch power mode (battery/dynamic/performance) 1613 KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane switch 1614 KEYBOARD_KEY_f7=!f22 # Fn+F10 Touchpad on 1615 KEYBOARD_KEY_f9=!f23 # Fn+F10 Touchpad off 1616 1617# Series 3 1618evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:* 1619evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:* 1620 KEYBOARD_KEY_ce=! # Fn+F1 launch control setting 1621 1622evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*356V[45]*:pvr* 1623evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*355V[45]*:pvr* 1624 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch control setting 1625 KEYBOARD_KEY_89=!brightnessdown # Fn+F2 brightness down 1626 KEYBOARD_KEY_88=!brightnessup # Fn+F3 brightness up 1627 KEYBOARD_KEY_82=!switchvideomode # Fn+F4 display toggle 1628 KEYBOARD_KEY_f7=!f22 # Fn+F5 touchpad on 1629 KEYBOARD_KEY_f9=!f23 # Fn+F5 touchpad off 1630 KEYBOARD_KEY_a0=!mute # Fn+F6 mute 1631 KEYBOARD_KEY_ae=!volumedown # Fn+F7 volume down 1632 KEYBOARD_KEY_b0=!volumeup # Fn+F8 volume up 1633 KEYBOARD_KEY_b3=!prog2 # Fn+F11 toggle fan/cool mode 1634 KEYBOARD_KEY_d5=!wlan # Fn+F12 toggle wifi 1635 1636# Series 5 1637evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:* 1638 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1639 KEYBOARD_KEY_a8=! # Fn Lock - Function lock on 1640 KEYBOARD_KEY_a9=! # Fn Lock - Function lock off 1641 1642evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:* 1643 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1644 KEYBOARD_KEY_a8=! # Fn Lock - Function lock on 1645 KEYBOARD_KEY_a9=! # Fn Lock - Function lock off 1646 1647# Series 7 / 9 1648evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*350V*:* 1649evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*670Z*:* 1650evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:* 1651evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:* 1652evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34]*:* 1653evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:* 1654 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1655 KEYBOARD_KEY_a0=!mute # Fn+F6 mute 1656 KEYBOARD_KEY_ae=!volumedown # Fn+F7 1657 KEYBOARD_KEY_b0=!volumeup # Fn+F8 1658 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down 1659 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up 1660 KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling mode changer 1661 1662evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X3A*:* 1663 KEYBOARD_KEY_ce=! # Fn+F8 keyboard backlight up 1664 KEYBOARD_KEY_8d=! # Fn+F7 keyboard backlight down 1665 KEYBOARD_KEY_96=! # Fn+F1 performance mode (?) 1666 KEYBOARD_KEY_97=! # Fn+F12 Wi-Fi toggle 1667 KEYBOARD_KEY_d5=! # Fn+F6 battery life extender 1668 1669evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:* 1670 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1671 KEYBOARD_KEY_8d=!prog3 # Fn+F6 performance mode 1672 KEYBOARD_KEY_97=!kbdillumdown # Fn+F7 keyboard backlight down 1673 KEYBOARD_KEY_96=!kbdillumup # Fn+F8 keyboard backlight up 1674 KEYBOARD_KEY_d5=!wlan # Fn+F12 Wi-Fi toggle 1675 1676# Series 7 Ultra 1677evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*7[34]0U3E*:* 1678 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1679 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down 1680 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up 1681 KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling mode changer 1682 KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane switch 1683 1684# ATIV Book 6 / 8 1685evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*[68][78]0Z*:* 1686 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1687 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up 1688 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down 1689 1690# SQ1US 1691evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pnSQ1US:* 1692 KEYBOARD_KEY_d4=menu 1693 KEYBOARD_KEY_d8=f1 1694 KEYBOARD_KEY_d9=f10 1695 KEYBOARD_KEY_d6=f3 1696 KEYBOARD_KEY_d7=f9 1697 KEYBOARD_KEY_e4=f5 1698 KEYBOARD_KEY_ee=f11 1699 1700# SX20S 1701evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*SX20S*:* 1702 KEYBOARD_KEY_74=mute 1703 KEYBOARD_KEY_75=mute 1704 KEYBOARD_KEY_77=f22 # Touchpad on 1705 KEYBOARD_KEY_79=f23 # Touchpad off 1706 1707evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:* 1708 KEYBOARD_KEY_ad=leftmeta 1709 1710# Galaxy Book (2021) NP750XDA-KD4SE 1711evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn750XDA:pvr* 1712 KEYBOARD_KEY_81=!esc 1713 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings 1714 KEYBOARD_KEY_ae=!volumedown # Fn+F7 volume down 1715 KEYBOARD_KEY_b0=!volumeup # Fn+F8 volume up 1716 1717 1718########################################################### 1719# SONY 1720########################################################### 1721 1722# sony-laptop driver 1723evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*:* 1724 KEYBOARD_KEY_06=mute # Fn+F2 1725 KEYBOARD_KEY_07=volumedown # Fn+F3 1726 KEYBOARD_KEY_08=volumeup # Fn+F4 1727 KEYBOARD_KEY_09=brightnessdown # Fn+F5 1728 KEYBOARD_KEY_0a=brightnessup # Fn+F6 1729 KEYBOARD_KEY_0b=switchvideomode # Fn+F7 1730 KEYBOARD_KEY_0e=zoom # Fn+F10 1731 KEYBOARD_KEY_10=suspend # Fn+F12 1732 1733evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-C1*:* 1734evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-K25*:* 1735evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-F[1-6]*:* 1736evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FX*:* 1737evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FRV*:* 1738evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-GR*:* 1739evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-TR*:* 1740evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-NV*:* 1741evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-Z*:* 1742evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*VGN-S360*:* 1743 KEYBOARD_KEY_06=battery 1744 KEYBOARD_KEY_07=mute 1745 1746evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-AR71*:* 1747evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW*:* 1748evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:* 1749 KEYBOARD_KEY_00=brightnessdown # Fn+F5 1750 KEYBOARD_KEY_10=brightnessup # Fn+F6 1751 KEYBOARD_KEY_11=switchvideomode # Fn+F7 1752 KEYBOARD_KEY_12=down # zoomout 1753 KEYBOARD_KEY_14=up # zoomin 1754 KEYBOARD_KEY_15=suspend # Fn+F12 1755 KEYBOARD_KEY_17=prog1 1756 KEYBOARD_KEY_20=media 1757 1758evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW250*:* 1759 KEYBOARD_KEY_10=suspend # Fn+F12 1760 1761evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:* 1762 KEYBOARD_KEY_05=f21 # Fn+F1 -> KEY_F21 (The actual touchpad toggle) 1763 KEYBOARD_KEY_0d=down # Fn+F9 zoomout 1764 KEYBOARD_KEY_0e=up # Fn+F10 zoomin 1765 1766########################################################### 1767# System76 1768########################################################### 1769 1770evdev:atkbd:dmi:bvn*:bvr*:bd*:svnSystem76*:pn*:* 1771 KEYBOARD_KEY_f7=f21 # Touchpad toggle 1772 KEYBOARD_KEY_f8=f21 # Touchpad toggle 1773 1774########################################################### 1775# T-bao 1776########################################################### 1777 1778evdev:atkbd:dmi:bvn*:bvr*:bd*:svnT-bao:pnTbookair:* 1779 KEYBOARD_KEY_76=f21 # Touchpad toggle 1780 1781########################################################### 1782# Toshiba 1783########################################################### 1784 1785# Satellite A100 1786evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*A100:* 1787 KEYBOARD_KEY_a4=stopcd 1788 KEYBOARD_KEY_b2=www 1789 1790# Satellite A110 1791evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*A110:* 1792 KEYBOARD_KEY_92=stop 1793 KEYBOARD_KEY_93=www 1794 KEYBOARD_KEY_94=media 1795 KEYBOARD_KEY_9e=f22 # Touchpad on 1796 KEYBOARD_KEY_9f=f23 # Touchpad off 1797 KEYBOARD_KEY_b9=nextsong 1798 KEYBOARD_KEY_d9=brightnessup 1799 KEYBOARD_KEY_ee=screenlock 1800 KEYBOARD_KEY_f4=previoussong 1801 KEYBOARD_KEY_f7=playpause 1802 1803# Satellite M30X 1804evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*M30X:* 1805 KEYBOARD_KEY_ef=brightnessdown 1806 KEYBOARD_KEY_d9=brightnessup 1807 KEYBOARD_KEY_ee=screenlock 1808 KEYBOARD_KEY_93=media 1809 KEYBOARD_KEY_9e=f22 # touchpad enable 1810 KEYBOARD_KEY_9f=f23 # touchpad disable 1811 1812# Satellite P75-A 1813evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:* 1814 KEYBOARD_KEY_ef=brightnessdown 1815 KEYBOARD_KEY_ee=brightnessup 1816 KEYBOARD_KEY_a9=switchvideomode # switch display outputs 1817 KEYBOARD_KEY_d4=wlan # RF Switch Off 1818 1819# Satellite U940 1820evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITEU940:* 1821 KEYBOARD_KEY_13c=brightnessdown 1822 KEYBOARD_KEY_13d=brightnessup 1823 KEYBOARD_KEY_13e=switchvideomode 1824 KEYBOARD_KEY_13f=f21 # Touchpad toggle 1825 1826# Satellite P75-A7200 1827evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:* 1828 KEYBOARD_KEY_13c=brightnessdown 1829 KEYBOARD_KEY_13d=brightnessup 1830 KEYBOARD_KEY_13e=switchvideomode 1831 KEYBOARD_KEY_13f=f21 # Touchpad toggle 1832 KEYBOARD_KEY_9e=wlan 1833 1834########################################################### 1835# VIA 1836########################################################### 1837 1838evdev:atkbd:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:* 1839 KEYBOARD_KEY_81=prog1 1840 1841########################################################### 1842# VIOS 1843########################################################### 1844 1845evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:* 1846 KEYBOARD_KEY_70073=f21 # Touchpad toggle 1847 1848########################################################### 1849# WeiHeng 1850########################################################### 1851 1852# P325J 1853evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINET:pnP325J:* 1854 KEYBOARD_KEY_76=f21 # Touchpad toggle 1855 1856########################################################### 1857# Zepto 1858########################################################### 1859 1860# Znote 1861evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote:* 1862 KEYBOARD_KEY_93=switchvideomode # Fn+F3 Toggle Video Output 1863 KEYBOARD_KEY_95=brightnessdown # Fn+F4 Brightness Down 1864 KEYBOARD_KEY_91=brightnessup # Fn+F5 Brightness Up 1865 KEYBOARD_KEY_a5=f23 # Fn+F6 Disable Touchpad 1866 KEYBOARD_KEY_a6=f22 # Fn+F6 Enable Touchpad 1867 KEYBOARD_KEY_a7=bluetooth # Fn+F10 Enable Bluetooth 1868 KEYBOARD_KEY_a9=bluetooth # Fn+F10 Disable Bluetooth 1869 KEYBOARD_KEY_f1=wlan # RF Switch Off 1870 KEYBOARD_KEY_f2=wlan # RF Switch On 1871 KEYBOARD_KEY_f4=prog1 # P1 Button 1872 KEYBOARD_KEY_f3=prog2 # P2 Button 1873 KEYBOARD_KEY_a0=! # mute 1874 KEYBOARD_KEY_ae=! # volume down 1875 KEYBOARD_KEY_b0=! # volume up 1876 1877# Znote 6615WD 1878evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote*6615WD:* 1879 KEYBOARD_KEY_a0=! # mute 1880 KEYBOARD_KEY_ae=! # volume down 1881 KEYBOARD_KEY_b0=! # volume up 1882 1883########################################## 1884# Ideazon 1885########################################## 1886 1887# Ideazon Zboard Merc 1888evdev:input:b0003v1038p0210* 1889 KEYBOARD_KEY_c0227=q 1890 KEYBOARD_KEY_c0223=w 1891 KEYBOARD_KEY_c0221=e 1892 KEYBOARD_KEY_c0224=a 1893 KEYBOARD_KEY_c0226=s 1894 KEYBOARD_KEY_c0225=d 1895 KEYBOARD_KEY_c0192=tab 1896 KEYBOARD_KEY_c018a=leftalt 1897 KEYBOARD_KEY_c022a=r 1898 KEYBOARD_KEY_c0183=f10 1899 KEYBOARD_KEY_70059=1 1900 KEYBOARD_KEY_7005a=2 1901 KEYBOARD_KEY_7005b=3 1902 KEYBOARD_KEY_7005c=4 1903 KEYBOARD_KEY_7005d=5 1904 KEYBOARD_KEY_7005e=6 1905 KEYBOARD_KEY_7005f=7 1906 KEYBOARD_KEY_70060=8 1907 KEYBOARD_KEY_70061=9 1908 KEYBOARD_KEY_70062=0 1909 KEYBOARD_KEY_70057=equal 1910 KEYBOARD_KEY_70077=capslock 1911 KEYBOARD_KEY_70054=leftshift 1912 KEYBOARD_KEY_70063=leftctrl 1913 KEYBOARD_KEY_7006b=t 1914 KEYBOARD_KEY_70067=f 1915 KEYBOARD_KEY_7006c=g 1916 KEYBOARD_KEY_7006d=v 1917 KEYBOARD_KEY_7006e=b 1918 KEYBOARD_KEY_70074=p 1919 KEYBOARD_KEY_7006f=c 1920 KEYBOARD_KEY_70055=space 1921 KEYBOARD_KEY_70076=f9 1922 KEYBOARD_KEY_70046=f11 1923 KEYBOARD_KEY_70079=f6 1924 1925# Ideazon Zboard Fang 1926evdev:input:b0003v1038p0310* 1927 KEYBOARD_KEY_70059=1 1928 KEYBOARD_KEY_7005b=3 1929 KEYBOARD_KEY_70040=equal 1930 KEYBOARD_KEY_70042=l 1931 KEYBOARD_KEY_7002b=tab 1932 KEYBOARD_KEY_7005e=capslock 1933 KEYBOARD_KEY_700e2=leftalt 1934 KEYBOARD_KEY_700e1=leftshift 1935 KEYBOARD_KEY_700e0=leftctrl 1936 KEYBOARD_KEY_70038=z 1937 KEYBOARD_KEY_7003e=t 1938 KEYBOARD_KEY_70015=r 1939 KEYBOARD_KEY_70010=g 1940 KEYBOARD_KEY_70050=n 1941 KEYBOARD_KEY_70030=f9 1942 KEYBOARD_KEY_7002f=f11 1943 KEYBOARD_KEY_70046=f6 1944 1945########################################################### 1946# CZC 1947########################################################### 1948 1949evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCZC:pnODEON*TPC-10:* 1950 KEYBOARD_KEY_01=leftmeta # Home button held for 2s 1951 KEYBOARD_KEY_db=prog1 # Home button 1952 KEYBOARD_KEY_dd=rfkill # Second button labeled Wi-Fi 1953 1954evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViewSonic:pnVPAD10:* 1955 KEYBOARD_KEY_01=leftmeta # Home button held for 2s 1956 KEYBOARD_KEY_db=prog1 # Home button 1957 KEYBOARD_KEY_dd=back # Second button labeled Back 1958 1959########################################################### 1960# Positivo-Vaio 1961########################################################### 1962# Vaio FE14 1963evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:pnVJFE41F11*:pvr*:* 1964 KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad 1965 1966########################################################### 1967# Other 1968########################################################### 1969 1970# Common Volume Keys 1971evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*SIEMENS:pnAMILO*:* 1972evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFOXCONN:pnQBOOK:* 1973evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMTC:pn*:pvrA0:* 1974evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMio*Technology:pnN890:* 1975evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPEGATRON*CORP.:pnSpring*Peak:* 1976evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*[uU][35]0[05]*:* 1977evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSATELLITE*[uU][35]0[05]*:* 1978evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*Pro*[uU]300*:* 1979evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnEQUIUM [uU][35]0[05]*:* 1980evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViooo*Corporation:pnPT17:* 1981evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHANNspree:pnSN10E100:* 1982evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pni1520M:* 1983evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pn*nScreen*:* 1984evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pnJoybook*Lite*:* 1985evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDIXONSP:pnDIXON*:* 1986 KEYBOARD_KEY_a0=! # mute 1987 KEYBOARD_KEY_ae=! # volume down 1988 KEYBOARD_KEY_b0=! # volume up 1989 1990######################### FIXED LAYOUT DEVICES ############################# 1991# This section lists devices for which only one keyboard layout is possible 1992# or useful such as devices which "type" expecting the user's keymap to match 1993# a particular one. For example, barcode readers and OTP keys. 1994# 1995# The layout must be an xkb compatible layout (defined with XKB_FIXED_LAYOUT), 1996# with an accompanying variant (defined with XKB_FIXED_VARIANT) if necessary. 1997 1998# Yubico Yubico Yubikey II" 1999evdev:input:b0003v1050p0010* 2000# Yubico Yubikey NEO OTP+CCID 2001evdev:input:b0003v1050p0111* 2002# Yubico Yubikey NEO OTP+U2F+CCID 2003evdev:input:b0003v1050p0116* 2004# OKE Electron Company USB barcode reader 2005evdev:input:b0003v05FEp1010* 2006 XKB_FIXED_LAYOUT=us 2007 XKB_FIXED_VARIANT= 2008 2009######################### LACK OF MODIFIER LEDS ############################ 2010# This section lists keyboard which do not have their own LEDs for some 2011# modifiers. Only Caps-Lock (KEYBOARD_LED_CAPSLOCK) and Num-Lock 2012# (KEYBOARD_LED_CAPSLOCK) are currently handled and need their values set 2013# to "0" to indicate the absence of LED. 2014# 2015# Presence of a LED is implicit when the property is absent. 2016 2017# Logitech K750 2018evdev:input:b0003v046Dp4002* 2019 KEYBOARD_LED_NUMLOCK=0 2020 KEYBOARD_LED_CAPSLOCK=0 2021 2022# PFU Limited HHKB Professional JP 2023evdev:input:b0003v04FEp000D* 2024 KEYBOARD_LED_NUMLOCK=0 2025 KEYBOARD_LED_CAPSLOCK=0 2026 2027# Lenovo ThinkPad T430s 2028evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT430s:* 2029 KEYBOARD_LED_CAPSLOCK=0 2030 2031# Lenovo ThinkPad T440s 2032evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:* 2033 KEYBOARD_LED_CAPSLOCK=0 2034 2035# Lenovo ThinkPad T450s 2036evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT450s:* 2037 KEYBOARD_LED_CAPSLOCK=0 2038 2039# Lenovo ThinkPad T560s 2040evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT560s:* 2041 KEYBOARD_LED_CAPSLOCK=0 2042 KEYBOARD_LED_NUMLOCK=0 2043 2044# Lenovo ThinkPad X1 Carbon 3rd Gen 2045evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:* 2046 KEYBOARD_LED_CAPSLOCK=0 2047 2048######################### FIXED MODEL DEVICES ############################# 2049# This section lists devices which require special handling in their key 2050# code to keysym mapping by setting the xkb model. 2051# The model must be an xkb compatible model (defined with XKB_FIXED_MODEL). 2052 2053# Chromebooks 2054evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:* 2055evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPeppy:* 2056 XKB_FIXED_MODEL=chromebook 2057