Take a look here for the asian keys:
http://www.opensource.apple.com/source/IOUSBFamily/IOUSBFamily-210.4.5/AppleUSBKeyboard/Classes/Cosmo_USB2ADB.cppMay you also take a look at this?
kb mode was UNICODE
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
0x3b 0xbb F1
0x3c 0xbc F2
0x3d 0xbd F3
0x3e 0xbe F4
0x3f 0xbf F5
0x40 0xc0 F6
0x41 0xc1 F7
0x42 0xc2 F8
0x43 0xc3 F9
0x44 0xc4 F10
0x57 0xd7 F11
0x58 0xd8 F12
0x46 0xc6 BLOQ DESPL
0xe1 0x1d 0x45 0xe1 0x9d 0xc5 PAUSE
0xe0 0x52 0xe0 0xd2 INS
0xe0 0x53 0xe0 0xd3 SUPR
WITH FN KEY (INVERSE ORDER)
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7 PET SIS
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7 IMPR PA
0x1d 0xe1 0x1d 0x45 0xe1 0x9d 0xc5 0x9d INTER
0x45 0xc5 BLQ NUM
0xe0 0x30 0xe0 0xb0 0xe0 0x30 0xe0 0xb0 SOUND UP
0xe0 0x2e 0xe0 0xae 0xe0 0x2e 0xe0 0xae SOUND DOWN
0xe0 0x20 0xe0 0xa0 SOUND MUTE
0xe0 0x54 0xe0 0xd4 BRIGHTNESS UP
0xe0 0x4c 0xe0 0xcc BRIGHTNESS DOWN
0xe0 0x12 0xe0 0x92 LOCK
0xe0 0x5f 0xe0 0xdf SLEEP
0xe0 0x56 0xe0 0xd6 WIDESCREEN
0xe0 0x32 0xe0 0xb2 BROWSER
0x1d 0x19 0x99 0x9d PRINT
0xe0 0x75 0xe0 0xf5 HELP
0xe0 0x5d 0xe0 0xdd APPLICATION
I took these on an HP's 6720s.
HP's brightness keys scancodes do not match Apple's ones, there's a way to change that? I need at least to remap them to another key (like FXX) as with Proxi you can map them directly to System-specific keys (ie, brightness ones).
Also, i've got a big problem with the interrupt key; i managed to get it work with ApplePS2Keyboard as mac took it as 0x46 scancode, so it could be mapped with ease. But the problem was that the output is Left Control + (0x46 scancode's key).
As far as the other key's i've got around fixing them as far as i did with ApplePS2Controller.
PD: If you want to take my opiniion in mind, i'd map brightness keys as normal ones cuz apple's blacklight kext works as hell with some displays, but it can't be solved with ease by using "shades" on those keys (They must be useable, like FXX).