Skip to content

Instantly share code, notes, and snippets.

@OwenChia
Created November 2, 2017 03:52
Show Gist options
  • Select an option

  • Save OwenChia/c5cb2fbf02b1ef6ee1f876bb5f416be9 to your computer and use it in GitHub Desktop.

Select an option

Save OwenChia/c5cb2fbf02b1ef6ee1f876bb5f416be9 to your computer and use it in GitHub Desktop.
Keyboard mapping for TerransForce S4
# TerransForce S4 - http://www.terransforce.com/?product_info/S4-1060-67T.html
# Usage:
# put this content to /etc/udev/hwdb.d/70-keyboard.hwdb, and then
# > systemd-hwdb update
# > udevadm trigger /dev/input/event5
#
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTerransForce:pnTerransForceS4:pvr*
KEYBOARD_KEY_e4=f21 # Touchpad
KEYBOARD_KEY_f7=brightnessdown # Fn+F4
KEYBOARD_KEY_f8=brightnessup # Fn+F5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment