Attempt to fix example_gamepad for windows msys2 workflow

This commit is contained in:
Krisjanis Rijnieks
2020-11-17 22:46:24 +02:00
parent 5bcf643545
commit 51fcf8f7ac
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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:
+5 -5
View File
@@ -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(){}