Search found 5 matches

by clickbait1
Mon Sep 28, 2015 4:14 am
Forum: UNIX and Linux Discussion Forum
Topic: [tool] relabsd - Turn your SpaceNavigator into a joystick.
Replies: 10
Views: 42943

Re: [tool] relabsd - Turn your SpaceNavigator into a joystic

Astrophobia wrote:I have never programmed anything using the Linux joystick API, but according to its man page, "jstest can be used to test all the features of the Linux joystick API", and jstest seems to work with the device just fine. :)
Awesome!
by clickbait1
Mon Sep 28, 2015 2:45 am
Forum: UNIX and Linux Discussion Forum
Topic: [tool] relabsd - Turn your SpaceNavigator into a joystick.
Replies: 10
Views: 42943

Re: [tool] relabsd - Turn your SpaceNavigator into a joystic

Just found the mistake.

I have spacenavd (spacenav daemon) running. Once I killed it, relabsd works. :D

quick question: with relabsd, can I access the joystick using linux kernel's joystick API?

Thanks for the good work!
by clickbait1
Mon Sep 28, 2015 2:31 am
Forum: UNIX and Linux Discussion Forum
Topic: [tool] relabsd - Turn your SpaceNavigator into a joystick.
Replies: 10
Views: 42943

Re: [tool] relabsd - Turn your SpaceNavigator into a joystic

Uh sorry I just realized I had to use relabsd udev rules as well as spacenavigator udev rules.

But anyway still the same (no) output. :(
by clickbait1
Mon Sep 28, 2015 2:24 am
Forum: UNIX and Linux Discussion Forum
Topic: [tool] relabsd - Turn your SpaceNavigator into a joystick.
Replies: 10
Views: 42943

Re: [tool] relabsd - Turn your SpaceNavigator into a joystic

Hi, Thanks for the reply. My device is Space Navigator, currently using ubuntu 14.04, libevdev-dev from official repo, ver 1.0.99. For configuration I used the one that comes with your git repo. I added the 4 lines udev rules according to the github wiki (instead of copying the udev.rules in git rep...
by clickbait1
Sun Sep 27, 2015 12:56 pm
Forum: UNIX and Linux Discussion Forum
Topic: [tool] relabsd - Turn your SpaceNavigator into a joystick.
Replies: 10
Views: 42943

Re: [tool] relabsd - Turn your SpaceNavigator into a joystic

Hi,

Thanks for the good work. I tried it, but when I check the output via

Code: Select all

sdl2-jstest --test 0
nothing happens, i.e. the axes values are "#".

"sdl2-jstest --list" however, outputs correct information: 6 axes, 2 buttons, etc.

Thanks.