We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6175b commit 29e0816Copy full SHA for 29e0816
GamepadState.cpp
@@ -4,6 +4,7 @@
4
// For making axises in the interval [-1,1]
5
#define GAMEPAD_AXIS_FACTOR 1 / 32768.0f
6
7
+using std::string;
8
GamepadState::GamepadState( SDL_GameController* controller )
9
: m_Controller( controller ) { }
10
GamepadState.h
@@ -4,16 +4,14 @@
#include <string>
#include "InputLibraryDefine.h"
-using std::string;
-
class GamepadState {
public:
11
GamepadState( SDL_GameController* controller );
12
~GamepadState();
13
14
void Update ();
15
16
- INPUT_API string GetName () const;
+ INPUT_API std::string GetName () const;
17
18
INPUT_API bool ButtonDown ( SDL_GameControllerButton button ) const;
19
INPUT_API bool ButtonUp ( SDL_GameControllerButton button ) const;
0 commit comments