Binding to Capslock Key
by Charlie Sibbach · in Torque Game Engine · 02/17/2009 (4:51 pm) · 0 replies
Specifically, there seems to be a problem doing this on OSX. On Linux, capslock works like every other key; I have reports that the Windows version is also working correctly. However, my control system is completely screwy on OSX. I'm not getting any response from the Capslock key at all. I'm also getting wierd behavior with the cursor- namely, the cursor is not hiding on OSX so that I can use mouse-control movement. Haven't tried it in full screen yet, though, so maybe it's just a issue with that; thought I heard somewhere that there are issues there.
Any ideas are appreciated!
PS: On a separate note, is there any way to make sure that the state of the capslock light is synchronized? Right now, I get a pair of mouseDown/mouseUp events when they hit capslock, and I have no way that I know about to make sure that I'm in a certain mode when capslock is on. For what I'm doing, I want to use a certain ActionMap when capslock is "on" (the light on the keyboard is on, system thinks it's in capslock mode), and another when it is "off". As far as I can tell, there's no way to tell what mode it's currently in, it's just another key.
Any ideas are appreciated!
PS: On a separate note, is there any way to make sure that the state of the capslock light is synchronized? Right now, I get a pair of mouseDown/mouseUp events when they hit capslock, and I have no way that I know about to make sure that I'm in a certain mode when capslock is on. For what I'm doing, I want to use a certain ActionMap when capslock is "on" (the light on the keyboard is on, system thinks it's in capslock mode), and another when it is "off". As far as I can tell, there's no way to tell what mode it's currently in, it's just another key.