Add support for pasting clipboard text

This commit is contained in:
Cameron Gutman 2021-02-07 13:46:38 -06:00
commit b83c6f0c28
5 changed files with 134 additions and 0 deletions

View file

@ -65,6 +65,8 @@ public:
void handleJoystickArrivalEvent(SDL_JoyDeviceEvent* event);
void sendText(const char* text);
void rumble(unsigned short controllerNumber, unsigned short lowFreqMotor, unsigned short highFreqMotor);
void handleTouchFingerEvent(SDL_TouchFingerEvent* event);
@ -101,6 +103,7 @@ private:
KeyComboToggleMouseMode,
KeyComboToggleCursorHide,
KeyComboToggleMinimize,
KeyComboPasteText,
KeyComboMax
};