Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

In order to cut down on connected devices, is there any way to use a connected USB gamepad as a mouse?

Bonus points to anyone who can make it also act as the keyboard.

As a clarification, the optimal result that I'm looking for is something like the Pandora Minimenu, which provides a simplified interface for use.

share|improve this question
    
Just a thought: Mouse on my linux machine is at /dev/input/mouse0 and gamepad at /dev/input/js0. I was wondering if I can create an alternate mouse1 and symbolic link /dev/input/js0 to it! –  Lord Loh. Nov 19 '12 at 18:12
    
May I suggest that you also ask this question on unix.SE? –  Lord Loh. Nov 19 '12 at 18:17
    
@LordLoh. My understanding is that cross-posting is discouraged, and I would prefer that my answers be viewed in the context of getting something working on a Raspberry Pi. –  Zoot Nov 19 '12 at 18:49
    
You can always reframe your question here and post a different one on unix.SE I think it is more of a linux question than something specific to raspberry pi. –  Lord Loh. Nov 19 '12 at 18:56
    
I thought X input system did use joysticks for pointer control out of the box. Maybe that's just analogue ones (I've probably tried a PS3 one). Have you tried? Digital pads make terrible pointers, though. –  XTL Nov 20 '12 at 7:00
show 2 more comments

1 Answer

To send keyboard commands from your joystick, check out joy2key. There is some example on the Arch linux wiki.

share|improve this answer
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.