mirror of
https://github.com/kr15h/ofxPiMapper.git
synced 2026-06-16 12:31:49 +02:00
Attempt to fix example_gamepad for windows msys2 workflow
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
update: true
|
||||
install: unzip mingw-w64-x86_64-SDL2
|
||||
install: unzip mingw64/mingw-w64-x86_64-SDL2
|
||||
msystem: MINGW64
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include "SDL2/SDL.h"
|
||||
#include <SDL2/SDL.h>
|
||||
#include "ofMain.h"
|
||||
#include "ofxXmlSettings.h"
|
||||
|
||||
@@ -40,17 +40,17 @@ struct ControllerItem{
|
||||
class InputHandler{
|
||||
public:
|
||||
static InputHandler * instance();
|
||||
|
||||
|
||||
void initialise();
|
||||
void update();
|
||||
void clean();
|
||||
|
||||
|
||||
bool initialised();
|
||||
|
||||
|
||||
ControllerItem getControllerItem(std::string code);
|
||||
ControllerCommand getControllerCommand(int controllerIndex, ControllerItem & item);
|
||||
std::string controllerCommandToString(ControllerCommand com);
|
||||
|
||||
|
||||
private:
|
||||
InputHandler(){}
|
||||
~InputHandler(){}
|
||||
|
||||
Reference in New Issue
Block a user