Skip to content

toyotaAmasKU/gamepad-communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gamepad-communication

Author:
Description:
gamepad communication using HIDAPI and send to Raspberry Pi

Requirement:

  • HIDAPI - HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices

How to build:

Linux
make
Windows
mingw32-make.exe

How to use:

Linux
./main.elf <RASPBERRY_PI_IP_ADDRESS> <X_AXIS_PORT> <Y_AXIS_PORT>

may require superuser privilege.

Windows
main.elf <RASPBERRY_PI_IP_ADDRESS> <X_AXIS_PORT> <Y_AXIS_PORT>

may require superuser privilege.

How to include HIDAPI:

  1. get HIDAPI
  2. install packages that required by HIDAPI
  3. copy hidapi/hidapi/hidapi.h to include/
  4. copy hidapi/linux/hid.c to repository directory (hidapi/windows/hid.c if you are using Windows)

About

gamepad communication using HIDAPI and send to Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published