VirtualJoystick
No description available
Install / Use
/learn @milador/VirtualJoystickREADME
VirtualJoystick
VirtualJoystick turns your Andoid device into an accessible and user-friendly game controller for your game console or computer. The application uses an Adafruit Feather 32u4 Bluefruit LE board to simulate the functions of a USB HID Joystick. It offers four different controller pad options which gives the users multiple input options to select in order to interact with the host device.
VirtualJoystick supports following controller options:
- XAC Controller Left Pad
- XAC Controller Right Pad
- Controller Direction Pad
- Controller Button Pad
VirtualJoystick can be used to operate Xbox Adaptive Controller through the USB ports.
Downloads
These are all the files and documentation associated with the VirtualJoystick project.
<table style="width:100%"> <tr> <th>Resource</th> <th>Version</th> <th>Format</th> <th>Link</th> </tr> <tr> <td>VirtualJoystick All</td> <td>1.0</td> <td>ZIP</td> <td><a href="https://github.com/milador/VirtualJoystick/archive/master.zip">VirtualJoystick-master.zip</a></td> </tr> <tr> <td>VirtualJoystick Setup Guide</td> <td>1.0 (June 2, 2019)</td> <td>PDF</td> <td><a href="https://github.com/milador/VirtualJoystick/raw/master/VirtualJoystick_Setup_Guide.pdf">VirtualJoystick_Setup_Guide.pdf</a></td> </tr> <tr> <td>VirtualJoystick BOM (csv)</td> <td>June 1, 2019</td> <td>CSV</td> <td><a href="https://github.com/milador/VirtualJoystick/blob/master/Components/VirtualJoystickr_BOM.csv">VirtualJoystickr_BOM.csv</a></td> </tr> <tr> <td>VirtualJoystick Firmware</td> <td>1.0</td> <td>Ino</td> <td><a href="https://github.com/milador/VirtualJoystick/raw/master/Software/VirtualJoystick_Firmware/VirtualJoystick_Firmware.ino">VirtualJoystick_Firmware.ino</a></td> </tr> <tr> <td>VirtualJoystick Application</td> <td>1.0</td> <td>APK</td> <td><a href="https://play.google.com/store/apps/details?id=com.milador.virtualjoystick">VirtualJoystick Application</a></td> </tr> </table>Usage
VirtualJoystick can turn your Android Smartphone or Tablet to a touch base game controller pad. You will need to connect your Adafruit Feather 32u4 Bluefruit LE board to your host device through a USB cable and send the joystick actions from your Android device to host device via bluetooth.
Components List
-
Adafruit Feather 32u4 Bluefruit LE X 1 : https://www.adafruit.com/product/2829
-
USB cable - USB A to Micro-B X 1 : https://www.adafruit.com/product/592
Software Setup Instructions
- Install the required libraries
1.1. Install Joystick library: https://github.com/MHeironimus/ArduinoJoystickLibrary
1.2. Install Adafruit_BluefruitLE_nRF51 library: https://github.com/adafruit/Adafruit_BluefruitLE_nRF51
- Download the firmware
2.1. VirtualJoystick Firmware : https://github.com/milador/VirtualJoystick/raw/master/Software/VirtualJoystick_Firmware/VirtualJoystick_Firmware.ino
2.2. Bluefruit Configuration : https://github.com/milador/VirtualJoystick/raw/master/Software/VirtualJoystick_Firmware/BluefruitConfig.h
2.3. packetParser File: https://github.com/milador/VirtualJoystick/raw/master/Software/VirtualJoystick_Firmware/packetParser.cpp
-
Setup Arduino IDE for your feather board according to the instructions on <a href="https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/setup">Adafruit website</a>
-
Verify and upload firmware code to your Feather Board
-
Install <a href="https://play.google.com/store/apps/details?id=com.milador.virtualjoystick">VirtualJoystick Android Application</a> in your Android Smartphone or Tablet
-
Enable Bluetooth in your Android Device
-
Enable Geo Location in your Android Device if you are using the application for the first time. Note: Android SDK 22 and above requires to enable Geolocation to use bluetooth features. You can disable Geolocation permission for the application after the first usage.
Hardware Setup Instructions
-
Connect Adafruit Feather 32u4 Bluefruit LE to the Micro-B port of USB cable
-
Connect USB A port of USB cable to your host device ( XAC or Computer )
License
MIT License
Copyright (c) 2021 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.
<p align="center"> <img align="center" src="https://raw.githubusercontent.com/milador/milador/master/Assets/IMG/mit_license_icon.png" width="50%" height="50%" alt="MIT License"/> </p>Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
