#!/bin/sh
setkeycodes 0x59 0x1d0 # 0x59 fn
setkeycodes 0x81 0x1d1 # 0x81 fn_esc
setkeycodes 0xF9 212 # 0xF9 camera
setkeycodes 0xF8 213 # Fn-CAMERA = Mic
setkeycodes 0x43 224 # 0x43 brightnessdown
setkeycodes 0x44 225 # 0x44 brightnessup
setkeycodes 0x57 114 # 0x57 volumedown
setkeycodes 0x58 115 # 0x58 volumeup
setkeycodes 0xBB 59 # 0xBB f1
setkeycodes 0xBC 60 # 0xBC f2
setkeycodes 0xBD 61 # 0xBD f3
setkeycodes 0xBE 62 # 0xBE f4
setkeycodes 0xBF 63 # 0xBF f5
setkeycodes 0xC0 64 # 0xC0 f6
setkeycodes 0xC1 65 # 0xC1 f7
setkeycodes 0xC2 66 # 0xC2 f8
setkeycodes 0xC3 67 # 0xC3 f9
setkeycodes 0xC4 68 # 0xC4 f10
setkeycodes 0xD7 87 # 0xD7 f11
setkeycodes 0xD8 88 # 0xD8 f12
setkeycodes 0xF7 183 # 0xF7 f13
setkeycodes 0xF6 184 # 0xF6 f14
setkeycodes 0xF5 185 # 0xF5 f15
setkeycodes 0xF4 186 # 0xF4 f16
setkeycodes 0xF3 187 # 0xF3 f17
setkeycodes 0xF2 188 # 0xF2 f18
setkeycodes 0xF1 189 # 0xF1 f19
setkeycodes 0xF0 190 # 0xF0 f20
setkeycodes 0xEF 191 # 0xEF f21
setkeycodes 0xEE 216 # 0xEE chat
setkeycodes 0xE4 216 # Just mapping Fn-Chat to Chat for now
setkeycodes 0xDD 139 # Frame
setkeycodes 0xDA 148 # Fn-Frame
setkeycodes 0xD3 111 # 0xD3 delete
setkeycodes 0xD2 110 # 0xD2 insert
setkeycodes 0xC9 104 # 0xC9 pageup
setkeycodes 0xD1 109 # 0xD1 pagedown
setkeycodes 0xC7 102 # 0xC7 home
setkeycodes 0xCF 107 # 0xCF end
setkeycodes 0x73 211 # 0x73 hp
setkeycodes 0x7E 211 # 0x7E hp
setkeycodes 0xDB 125 # left grab
setkeycodes 0xDC 126 # right grab
setkeycodes 0x85 126 # Right grab releases on a different scancode
setkeycodes 0xD6 228 # Fn-space
setkeycodes 0x69 227 # Brightness key
setkeycodes 0x65 72 # up
setkeycodes 0x66 80 # down
setkeycodes 0x67 75 # left
setkeycodes 0x68 77 # right
setkeycodes 0xE5 73 # pgup
setkeycodes 0xE6 81 # pgdn
setkeycodes 0xE7 71 # home
setkeycodes 0xE8 79 # end
