Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milador/RaspberryPi-Joystick
A virtual HID USB joystick created using Raspberry Pi
https://github.com/milador/RaspberryPi-Joystick
descriptor hid joystick libcomposite python raspberry-pi raspberrypi-joystick usb
Last synced: 2 months ago
JSON representation
A virtual HID USB joystick created using Raspberry Pi
- Host: GitHub
- URL: https://github.com/milador/RaspberryPi-Joystick
- Owner: milador
- License: mit
- Created: 2018-12-26T03:56:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T23:25:46.000Z (over 1 year ago)
- Last Synced: 2024-06-25T23:37:22.866Z (3 months ago)
- Topics: descriptor, hid, joystick, libcomposite, python, raspberry-pi, raspberrypi-joystick, usb
- Language: Python
- Homepage:
- Size: 6.82 MB
- Stars: 114
- Watchers: 5
- Forks: 29
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RaspberryPi-Joystick
The goal of this project is to create a virtual USB HID joystick which is able to convert BT mice/keyboard or USB mice/keyboard to joystick HID actions.
This Raspberry Pi joystick converter is based on RaspberryPi 4B/zero and can be used to operate Xbox Adaptive Controller or NS console for practical use cases.
## Updates
January 2023: The software is now available as an OS image (BlueStick OS) and you can use RaspberryPi Imager to flash the image to the SD card. Visit [BlueStick OS](http://bluestick.ca/) website for more information.
## Setup
Here are the hardware and software setup process instructions:
### [Hardware requirements and setup](./HARDWARE_SETUP.md) ( HARDWARE_SETUP.md )
### [Software requirements and setup](./SOFTWARE_SETUP.md) ( SOFTWARE_SETUP.md )
## Manual setup instructions
The setup process for each gamepad configuration can be performed manually as well. You can chose the configuration that matches your needs and follow the steps.
1. [8_Buttons](https://github.com/milador/RaspberryPi-Joystick/blob/master/8_Buttons_Joystick/) ( 8 Buttons and a dual axis joystick )
2. [16_Buttons](https://github.com/milador/RaspberryPi-Joystick/blob/master/16_Buttons_Joystick/) ( 16 Buttons and a dual axis joystick )
3. [32_Buttons](https://github.com/milador/RaspberryPi-Joystick/blob/master/32_Buttons_Joystick/) ( 32 Buttons and a dual axis joystick )
4. [NSGamepad](https://github.com/milador/RaspberryPi-Joystick/blob/master/NSGamepad/) ( Nintendo Switch )
5. [PSGamepad](https://github.com/milador/RaspberryPi-Joystick/blob/master/PSGamepad/) ( PS3/PS4 )
6. [XACGamepad](https://github.com/milador/RaspberryPi-Joystick/blob/master/XACGamepad/) ( Xbox Adaptive Controller )
Please select the option based on your need and follow the instructions.## Collaborators
Thanks to all the developers and testers helping to create this project. Special thanks to [gdsports](https://github.com/gdsports) for finding/fixing bugs and developing new features.
## License
### MIT License
Copyright (c) 2018 Milador
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.