# This file is part of systemd. # # Keyboard mapping of scan codes to key codes, and # scan codes to add to the AT keyboard's 'force-release' list. # # The lookup keys are composed in: # 60-keyboard.rules # # Note: The format of the "keyboard:" prefix match key is a # contract between the rules file and the hardware data, it might # change in later revisions to support more or better matches, it # is not necessarily expected to be a stable ABI. # # Supported hardware matches are: # - USB keyboards identified by the usb kernel modalias: # evdev:input:b0003vXXXXpYYYY* # XXXX is the 4-digit hex uppercase vendor, and YYYY # the 4-digit hex uppercase product. # # - AT keyboard DMI data matches: # keyboard:dmi:bvn*:bvr*:bd*:svn:pn:pvr* # and are the firmware-provided strings # exported by the kernel DMI modalias. # # - Platform driver device name and DMI data match: # keyboard:name::dmi:bvn*:bvr*:bd*:svn:pn* # is the name device specified by the # driver, is the firmware-provided string exported # by the kernel DMI modalias. # # Scan codes are specified as: # KEYBOARD_KEY_= # The scan code should be expressed in hex lowercase and in # full bytes, a multiple of 2 digits. The key codes are retrieved # and normalized from the kernel input API header. # # A '!' as the first charcter of the key identifier string # will add the scan code to the AT keyboard's list of scan codes # where the driver will synthesize a release event and not expect # it to be generated by the hardware. # # To debug key presses and access scan code mapping data of # an input device use the commonly available tool: evtest(1). ########################################################### # MELE F10-PRO ########################################################### # F10 PRO Remote evdev:input:b0003v03E7p0D01* keyboard:usb:v03E7p0D01* KEYBOARD_KEY_0c034b=esc # Smart_assistant button: Esc / Back KEYBOARD_KEY_0c0349=playpause # Pick-up button: Play/pause KEYBOARD_KEY_0c034a=x # Hang-up button: Stop KEYBOARD_KEY_0c0348=mute # Sound-switch button: Mute KEYBOARD_KEY_0c0346=f11 # Mouse button: F11 KEYBOARD_KEY_0c0347=t # Remote button: T - Subtitles