hal_input btn-joystick name change to trigger?

More
08 Feb 2022 20:25 #234353 by jtrantow
I couldn't figure out the NIC problems with the 2.8.2 iso and I decided to try a Debian 11 install and build/install linuxcnc 2.9.0~pre0. This seems to be working well but hal_input has changed one button name from joystick to trigger. All the other names and the functionality hasn't changed.

If this is the new button name going forward, I will update the wiki simple remote pendant. As it is, this 2.9 change breaks any script that uses this button on a joypad.

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

More
28 Feb 2022 22:46 #236050 by andypugh
Replied by andypugh on topic hal_input btn-joystick name change to trigger?
I think that the event names are defined in the Linux headers. These are then turned in to pin names by hal_input.

github.com/torvalds/linux/blob/master/in.../input-event-codes.h

Is the list, I think. Though I am unclear how hal_input might do a reverse-lookup.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum