- LinuxCNC
- General LinuxCNC Questions
- Installing linuxcnc python library for an X-Box interface on a Raspberry Pi4
Installing linuxcnc python library for an X-Box interface on a Raspberry Pi4
- SimonCNC123
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 5
02 May 2022 06:05 #241832
by SimonCNC123
Installing linuxcnc python library for an X-Box interface on a Raspberry Pi4 was created by SimonCNC123
I am running LinuxCNC on a Raspberry Pi4 with all the install recommendations from this fantastic forum. My system is running perfectly and I now want to write a python interface to allow us to use an X-Box controller as a pendant to control Linuxcnc. I have no problems writing the python code and getting all the X-box inputs using 'evdev', but I can't seem to get the 'linuxcnc' library installed on the pi so that I can access it in python3. From what I have read, I need to install linuxcnc-dev, but I'm not having any luck doing that! Can anybody please point me in the right direction?.
Please Log in or Create an account to join the conversation.
- elovalvo
- Offline
- Elite Member
Less
More
- Posts: 202
- Thank you received: 126
02 May 2022 06:30 - 02 May 2022 06:30 #241834
by elovalvo
Replied by elovalvo on topic Installing linuxcnc python library for an X-Box interface on a Raspberry Pi4
In the past there have been many examples of using a joypad with LinuxCNC, in particular using the hal_input function (linuxcnc.org/docs/html/man/man1/hal_input.1.html).
In the meantime, you can start from here: wiki.linuxcnc.org/cgi-bin/wiki.pl?A_New_...oypads_With_LinuxCNC,
In the meantime, you can start from here: wiki.linuxcnc.org/cgi-bin/wiki.pl?A_New_...oypads_With_LinuxCNC,
Last edit: 02 May 2022 06:30 by elovalvo.
The following user(s) said Thank You: SimonCNC123
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Installing linuxcnc python library for an X-Box interface on a Raspberry Pi4
Time to create page: 0.051 seconds