Xbox controller load outputs

More
27 Feb 2018 20:24 #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 or Create an account to join the conversation.

More
05 Mar 2018 21:24 #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
The following user(s) said Thank You: Xpertmill

Please Log in or Create an account to join the conversation.

More
06 Mar 2018 08:51 #107018 by Xpertmill
Thank you andy.

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum