Xbox controller load outputs
- Xpertmill
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
27 Feb 2018 20:24 #106659
by Xpertmill
Xbox controller load outputs was created 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?
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23297
- Thank you received: 4938
05 Mar 2018 21:24 #106976
by andypugh
Replied by andypugh on topic Xbox controller load outputs
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
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.
- Xpertmill
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
06 Mar 2018 08:51 #107018
by Xpertmill
Replied by Xpertmill on topic Xbox controller load outputs
Thank you andy.
I will have a look in the code. Maybe I can do some changes.
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.096 seconds