View Single Post
  #2 (permalink)  
Old 29th January 2003
xlv600's Avatar
xlv600 xlv600 is offline
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: France
Posts: 218
Rep Power: 0
xlv600 is an unknown quantity at this point
Default

The winlirc definitions are stored in the key:
HKEY_CURRENT_USER\Software\BST\bsplayer\ircodes
This key have no values if none are defined. I've assigned X to Exit function, and BPlay has added to registry, under previous ircodes key the String value:
77=X

Nota:
The key definitions are stored in the Hex value: HKEY_CURRENT_USER\Software\BST\bsplayer\\KeyDef
In build 493, this value is 360 bytes long, ie 90 shortcuts stored in a Double Word. For compatibility, new versions add key at the end.
The first DWord (offset 0) is for the function "Exit Full Screen", which default key is [ESC] coded (1B 00 00 00)hex.
I've assigned [Ctrl+F4] to "Close movie", and the registry get for the 78th DWord at offset 138 (73 04 01 00)hex.
-First byte is for the key Main scan code
-Second byte: Bit 0(LSB) -> Shift, Bit1 -> Alt, Bit2 -> Ctrl
-Third byte is 1 for Extended key
- Forth byte not used
Unassigned key (???) get (00 NN 0? 00) where NN is the key's position in the list and ? is 0 or 1.

Hope it helps
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20