Files
GP2040-CE/headers/usbdriver.h
Luke A 43358ed8f0 GP2040-CE Input Driver system rehaul (#830)
* Does not compile yet but this adds a TON of new code for each input driver mode, and separates all of the individual modes out of the gamepad instance.

Still tons of work to be done.

* Everything moved around, it compiles!

* Fixed string buffer, XInput was missing from driver manager setup list, added conditionals for joystick mid as we can do a GPIO read before input mode is decided... tud_init() added to driver setup to make everything work

* Small fixes for keyboard and xbox one

* Moving drivers above drivermanager

* Fixed naming for "Neogeo" to "NeoGeo"

* Upper, lower

* Bug with hotkey & hotkey saving was messing up the UP direction

* Missed PS Classic in the driver manager list

* Changed from 3 functions down to 1, no reason to have the extra

* Fixed one get_report in Xbox Original driver, small code clean-up on xbox one

* Replacing some tabs w/ spaces

Small change to xbone driver to remove unused variable and set last report to 0 in initialize

* Update AstroDriver.h
2024-02-07 12:14:06 -05:00

7 lines
138 B
C

#ifndef _USB_DRIVER_H_
#define _USB_DRIVER_H_
bool get_usb_mounted(void);
bool get_usb_suspended(void);
#endif // #ifndef _USB_DRIVER_H_