Quantcast
Channel: Getting live info from /dev/input - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Getting live info from /dev/input

$
0
0

I am unsure if this is the correct place for this question. I am attempting to obtain the axis position values from a joystick /dev/input/js0 on my system. If I run jstest /dev/input/js0 it will give me live feedback on all buttons and axis positions.

I am trying to feed this information into my C program to control servos. Is there a function for doing this? I have not worked much with input devices in programming so this is all new to me.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images