* 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
16 lines
268 B
C++
16 lines
268 B
C++
/*
|
|
* SPDX-License-Identifier: MIT
|
|
* SPDX-FileCopyrightText: Copyright (c) 2024 OpenStickCommunity (gp2040-ce.info)
|
|
*/
|
|
|
|
#ifndef _GPCONFIG_H_
|
|
#define _GPCONFIG_H_
|
|
|
|
class GPConfig {
|
|
public:
|
|
virtual void setup() = 0;
|
|
virtual void loop() = 0;
|
|
private:
|
|
};
|
|
|
|
#endif |