View Single Post
Old 06-24-12, 06:04 AM   #2
Fubar2Niner
Silent Hunter
 
Fubar2Niner's Avatar
 
Join Date: Nov 2002
Location: London. UK
Posts: 4,180
Downloads: 279
Uploads: 0
Default

Quote:
Originally Posted by runio View Post
Just look here:
http://www.cambiaresearch.com/articl...odes-key-codes
You need to change these decimal values to hex.
So, to assign the shift-h key, you need to write:
Code:
Key0=0x48,s,"Shift+H"
Because:
the 'H' key is 72 dec = 48 hex
's' - action with the 'shift' key ('c' for the 'control' key).
Good luck.

Thanks for the info runio, will this make the example key a simple toggle ie. increase/decrease volume?

Best regards.

Fubar2Niner
Fubar2Niner is offline   Reply With Quote