mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
do touchscreen input more properly
This commit is contained in:
@ -147,6 +147,9 @@ public:
|
||||
int getJoystickID() { return joystickID; }
|
||||
SDL_Joystick* getJoystick() { return joystick; }
|
||||
|
||||
void touchScreen(int x, int y);
|
||||
void releaseScreen();
|
||||
|
||||
private:
|
||||
static int lastSep(const std::string& path);
|
||||
std::string getAssetPath(bool gba, const std::string& configpath, const std::string& ext, const std::string& file);
|
||||
@ -328,6 +331,9 @@ private:
|
||||
|
||||
melonDS::u32 inputMask;
|
||||
|
||||
bool isTouching;
|
||||
melonDS::u16 touchX, touchY;
|
||||
|
||||
friend class EmuThread;
|
||||
friend class MainWindow;
|
||||
};
|
||||
|
Reference in New Issue
Block a user