Xbox controller load outputs

More
8 years 8 months ago #106659 by Xpertmill
Hello,

i have just configured a wireless xbox controller like it s discribed on the "simple pendant gampad" page. It works very well. But the thing is, that with loadusr -W hal_input -KRAL Dual is just loading the inputs, but the controller has also outputs; They are for four leds and two vibration motors on the controller

Is there also a way to get the outputs of the controller as hal pins?

Please Log in to join the conversation.

More
8 years 7 months ago #106976 by andypugh
Despite the name it looks like hal_input does try to make pins for LED outputs:

github.com/LinuxCNC/linuxcnc/blob/master...ps/hal_input.py#L111

The problem might be that your gamepad does not call the LEDs "EV_LED"

hal_input docs are here: linuxcnc.org/docs/2.7/html/man/man1/hal_input.1.html

Please Log in to join the conversation.

More
8 years 7 months ago #107018 by Xpertmill
Thank you andy.

I will have a look in the code. Maybe I can do some changes.

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum