Welcome to the Linux Foundation Forum!

Using joystick as mouse.


Just bored. I would like to add my joystick as a mouse. Its just a fun project.


  • Goineasy9
    Goineasy9 Posts: 1,114
    OK, I have a Logitech Attack 3 that's just sitting here, what do we do? Haven't plugged it into a Linux machine in ages.

    Bus 006 Device 002: ID 046d:c214 Logitech, Inc. ATK3 (Attack III Joystick)

    Well at least it's recognized...I'll check back later.
  • woboyle
    woboyle Posts: 501
    At least it isn't a game port device. I wrote an x-windows driver to use my game port joystick as a mouse over 10 years ago. It worked ok, but I never did get comfortable using it for mousing vs. flying... :-) Anyway, the biggest issues for the driver was the code for debounce control, edge detection, and acceleration. It was one of those "fun" projects, just to know I could do it, and to get more comfortable with low-level x-lib programming.


Upcoming Training