Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm writing an Ubuntu application for stereoscopic augmented reality using a head mounted display and a DS3 sixaxis in place of traditional mag tracers for head tracking:

enter image description here

To save myself a lot of extra work I would like to use the keyboard for translational movement and the mouse for rotation much like in a video game. This way I would just have to map the motion sensors from the sixaxis to the appropriate keys.

Does anyone know of software that can do this? Since I've got the controller already paired and jtest is detecting the motion sensors, I think I could use any package that can map a gamepad to the keyboard but I'm not certain on this.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

I tried a bunch of these a while back but the only one I found that did well with the motion sensor was joy2key. You can find the project at

http://sourceforge.net/projects/joy2key/

You just have to make sure you don't block synthetic events in your code. Your project sounds awesome by the way I hope you'll put it up somewhere.

share|improve this answer
    
Thanks, Nathan, I had that in my pile but hadn't tried it yet. I found a couple more that work but not nearly as well. BTW I'm going to put my project on sourceforge probably later this week. When I do I'll put a link to it on my user page if you're interested. –  Blomkvist May 16 '11 at 17:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.