PDA

View Full Version : Using Razer Hydra for driving (binding to keyboard arrows to tilt gestures)



Leonard Callus
06-09-2012, 10:59 PM
I am starting again this discussion as no one ever gave a clear answer about this. I'm sure you have another driving game other than Flatout and I wish some one to check whether the following code enables one to driving using tilt.

I'm also interested in driving with the Razer Hydra and I don't think this is impossible looking at the integrated version of Flatout.
Is it possible to do this code for left tilt to drive left?:



< binding>
<name>Drive Left</name>
<conditions>
<tilt_gesture>
<controller>P1L</controller>
<filter>hold</filter>
<direction>ccw</direction>
<angle>35</angle>
</tilt_gesture>
</conditions>
<actions>
<key>
<which>a</which>
</key>
</actions>
</binding>


If anyone tries it out and it works please notify. Also, if it doesn't work, can anyone suggest an alternative way to code for this?

Did anyone try this on some driving game using the Razer Hydra?

And I also wish to ask another thing. I don't know if it exists but is there a condition that enables a certain key to be pressed only if the a particular tilt gesture is repeated twice in a short period of time?

cookies4you
06-10-2012, 06:23 PM
I'm not sure. Does anybody know if the Hydra's programming language can do math? If it can, then it's a simple matter of arithmetic.

Leonard Callus
06-10-2012, 11:07 PM
I'm not sure. Does anybody know if the Hydra's programming language can do math? If it can, then it's a simple matter of arithmetic.

What do you mean by this?
Can anybody check this out please?!

TiagoTiago
03-01-2013, 11:29 AM
I'm not sure. Does anybody know if the Hydra's programming language can do math? If it can, then it's a simple matter of arithmetic. Math? Not really, it just get boolean results of simple tests.