I have ported my old project “pNesX” game console emulator to the nucleo.
Dependencies: SDFileSystem mbed
USBHostGamepad Class Reference
A class to communicate a USB MIDI device. More...
#include <USBHostGamepad.h>
Inherits IUSBEnumerator.
Public Member Functions | |
USBHostGamepad () | |
Constructor. | |
bool | connect () |
Try to connect a gamepad device. | |
bool | connected () |
Check if a gamepad is connected. |
Detailed Description
A class to communicate a USB MIDI device.
Definition at line 46 of file USBHostGamepad.h.
Constructor & Destructor Documentation
USBHostGamepad | ( | ) |
Constructor.
Definition at line 26 of file USBHostGamepad.cpp.
Member Function Documentation
bool connect | ( | ) |
Try to connect a gamepad device.
- Returns:
- true if connection was successful
Definition at line 43 of file USBHostGamepad.cpp.
bool connected | ( | ) |
Check if a gamepad is connected.
- Returns:
- true if a gamepad is connected
Definition at line 39 of file USBHostGamepad.cpp.
Generated on Tue Jul 12 2022 20:36:59 by 1.7.2