wolfshow / gamepad

USB-HID gamepad based on Arduino Joystick Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gamepad

USB-HID gamepad based on Arduino Joystick Library (https://github.com/MHeironimus/ArduinoJoystickLibrary) for ATmega32U4 Microcontrollers

Bluetooth gamepad based on Bluetooth LE Gamepad library (https://github.com/lemmingDev/ESP32-BLE-Gamepad) for the ESP32

Platform: Windows, Linux, Android, Raspberry Pi

Pinout for Arduino Leonado/Micro

button_A 0

button_B 1

button_C (L3) 2

button_X 3

button_Y 4

button_Z (R3) 5

button_L1 6

button_R1 7

button_L2 8

button_R2 9

button_SELECT 10

button_START 11

button_UP 12

button_LEFT 13

button_DOWN A4

button_RIGHT A5

left_analog_stick_x A1

left_analog_stick_y A0

right_analog_stick_x A3

right_analog_stick_y A2

Pinout for SparkFun Pro Micro

button_A 0

button_B 1

button_SELECT 2

button_X 3

button_Y 4

button_START 5

button_L1 6

button_R1 7

button_L2 8

button_R2 9

button_UP 10

button_LEFT 14

button_DOWN 15

button_RIGHT 16

left_analog_stick_x A1

left_analog_stick_y A0

right_analog_stick_x A3

right_analog_stick_y A2

Pinout for ESP32 Bluetooth

button_A 26

button_B 27

button_C (L3) 4

button_X 5

button_Y 12

button_Z (R3) 13

button_L1 14

button_R1 15

button_L2 16

button_R2 17

button_SELECT 18

button_START 19

button_UP 21

button_LEFT 22

button_DOWN 23

button_RIGHT 25

left_analog_stick_x 32

left_analog_stick_y 33

right_analog_stick_x 34

right_analog_stick_y 35

ezoic increase your site revenue

About

USB-HID gamepad based on Arduino Joystick Library

License:MIT License


Languages

Language:C++ 100.0%