Game Development Community

Torque Input Constants explanation.

by Kuju Manila · in Torque Game Engine · 01/23/2008 (9:38 pm) · 3 replies

Can anyone here please explain to me in plain english what's SI_MAKE and SI_BREAK mean in the Torque Input constants?

I am currently making a hardware device work, by directly converting its signals into keyboard input events. My problem with it is that I don't know what to put in in some of those event attributes when I have no lparam or wparam to play with. SI_MAKE and SI_BREAK also confuses me.

#1
01/25/2008 (5:24 am)
SI_MAKE - Key has been pressed
SI_BREAK - Key has been released

I believe.
#2
01/25/2008 (7:23 am)
Roger that.
#3
01/27/2008 (3:52 pm)
Ok thanks. sheesh why didn't they made it into obvious more self-descriptive words such as:
SI_PRESSED : SI_RELEASED, SI_KEYDOWN : SI_KEYUP, etc.