Got it! The secret is in the Settings.dat file in the Xion root directory. In the file, which can be read from any text editor and is in readable, well organized XML format, are the key code settings - they are easy to pick out and are all under the <HotKeys> key. Here is a line, demonstrating the format of the Play/Pause toggle hotkey, along with my modification:
- Code: Select All Code
<1 Action="16806" Destination="34790" Enabled="true" Modifier="0" ExtendedKey="0" VirtualKey="179" />
The individual hotkeys, however, are not easily distinguished. Here is a legend to the hot keys:
#9 Action 50835 = Forward 5 Seconds
#14 Action 13871 = Next [Track]
#19 Action 13456 = Open File
#1 Action 16806 = Play/Pause Toggle.
#0 Action 13574 = Play
#13 Action 13791 = Previous [Track]
#17 Action 57720 = Remove Currently Playing
#10 Action 47523 = Rewind 5 Seconds
#8 Action 35234 = Shift Balance Left
#7 Action 38790 = Shift Balance Right
#2 Action 14068 = Stop
#11 Action 70624 = Toggle All Windows
#4 Action 50185 = Toggle Equalizer
#12 Action 46524 = Toggle Main Window
#3 Action 33628 = Toggle Mute
#18 Action 46524 = Toggle Playlist
#15 Action 39779 = Toggle Random
#16 Action 39755 = Toggle Repeat
#6 Action 46231 = Volume Decrease
#5 Action 46695 = Volume Increase
The "Enabled" attribute is, of course, whether or not the hotkey is enabled and is either "true" or "false".
The "Modifier" attribute indicates whether or not the shift, alt and/or ctrl keys are pressed. Each "Modifier" key is assigned a different number. Here is the legend to the Modifier keys:
This is a binary attribute, so add keys together when using more than one modifying key.
The "ExtendedKey" attribute is, I think, a Boolean. It is set to 1 (true) whenever an arrow key or a key like "Home" is being used as a hot key. Not 100% sure what else it does.
the "VirtualKey" attribute is the virtual key code of the key being pressed. It is expressed as a decimal number. Here is a
link to a web page where you can find most of the virtual key codes so that you can use them with Xion. They are in Hex, so you'll need to convert them with your head
, the Windows scientific calculator or some other app.
One of the cool things about this is that you can make combinations that the user interface disallows. For example, I wanted to make my play/pause key be the stop key when depressing the shift modifier key - however, the interface doesn't allow it (it doesn't recognize my play/pause key). By editing the proper hotkey key, I was able to easily make Xion recognize the play/pause key as well as using the shift key with it to actuate the stop. Here is my modification for the "Stop" hotkey:
- Code: Select All Code
<2 Action="14068" Destination="34790" Enabled="true" Modifier="4" ExtendedKey="0" VirtualKey="179" />
Hope this helps some poor sap in the same situation I was in. At least it's out there now.