2011-09-21, 17:13
Some good info here, and got me working on my own keyboard.xml file. I currently have some questions tho.
1) Whats the Key ID for the Play/Pause Button? When I press it and look in the log, all I get is:
I'm trying to remap the play/pause button so that in the menu it acts as a context button.
2) I'm not sure what the proper term to call this is, but is there a "bracket" (like <FullscreenVideo></FullscreenVideo>) for when you just have video playing, but NOT in full screen? For instance, I want a button to do one thing in the Menu, but if a video is playing in the background of the menu, I want it to do something else.
3) Is there anyway to detect how long a button is being pressed like on a apple TV remote? For instance, if I hold a button for 1.5 seconds it does something else?
1) Whats the Key ID for the Play/Pause Button? When I press it and look in the log, all I get is:
Code:
11:06:46 T:4896 M:1049169920 DEBUG: SDLKeyboard: scancode: 0, sym: 0, unicode: 0, modifier: 0
11:06:47 T:4896 M:1049169920 DEBUG: WinEventsWin32.cpp: APPCOMMAND 14
I'm trying to remap the play/pause button so that in the menu it acts as a context button.
2) I'm not sure what the proper term to call this is, but is there a "bracket" (like <FullscreenVideo></FullscreenVideo>) for when you just have video playing, but NOT in full screen? For instance, I want a button to do one thing in the Menu, but if a video is playing in the background of the menu, I want it to do something else.
3) Is there anyway to detect how long a button is being pressed like on a apple TV remote? For instance, if I hold a button for 1.5 seconds it does something else?