mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
d06b8bd731
## Link to GitHub Issue, if one exists n/a ## Description of change HG cabinet uses wintouch and it requires TOUCHEVENTF_PRIMARY flag in order to accept touch inputs. Added wintouchemu on game hook and TOUCHEVENTF_PRIMARY flag on wintouchemu. ## Testing The game boots into test menu, touch now works. (tested in I/O TEST -> TOUCH PANEL CHECK with '-s' flag) TDJ subscreen overlay and nostalgia seems works fine regardless added TOUCHEVENTF_PRIMARY flag but more testing required.
23 lines
383 B
C++
23 lines
383 B
C++
#pragma once
|
|
|
|
#include "games/game.h"
|
|
|
|
namespace games::mfc {
|
|
|
|
extern bool HG_MODE;
|
|
|
|
struct joystick_state {
|
|
bool up = false;
|
|
bool down = false;
|
|
bool start = false;
|
|
bool service = false;
|
|
bool test = false;
|
|
};
|
|
|
|
class MFCGame : public games::Game {
|
|
public:
|
|
MFCGame();
|
|
virtual void attach() override;
|
|
};
|
|
}
|