mirror of https://github.com/stella-emu/stella.git
Minor refactor for PKeyboardHandler WRT 'Alt' functionality.
This commit is contained in:
parent
4ae491dd6c
commit
84d44273d3
|
@ -19,7 +19,6 @@
|
||||||
#include "Console.hxx"
|
#include "Console.hxx"
|
||||||
#include "Settings.hxx"
|
#include "Settings.hxx"
|
||||||
#include "EventHandler.hxx"
|
#include "EventHandler.hxx"
|
||||||
#include "Event.hxx"
|
|
||||||
#include "Sound.hxx"
|
#include "Sound.hxx"
|
||||||
#include "StateManager.hxx"
|
#include "StateManager.hxx"
|
||||||
#include "StellaKeys.hxx"
|
#include "StellaKeys.hxx"
|
||||||
|
@ -45,7 +44,7 @@ static constexpr int MOD3 = KBDM_ALT;
|
||||||
PhysicalKeyboardHandler::PhysicalKeyboardHandler(OSystem& system, EventHandler& handler)
|
PhysicalKeyboardHandler::PhysicalKeyboardHandler(OSystem& system, EventHandler& handler)
|
||||||
: myOSystem(system),
|
: myOSystem(system),
|
||||||
myHandler(handler)
|
myHandler(handler)
|
||||||
#ifdef BSPF_UNIX // FIXME - this may no longer be relevant
|
#ifdef BSPF_UNIX
|
||||||
, myAltKeyCounter(0)
|
, myAltKeyCounter(0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,6 +25,7 @@ class OSystem;
|
||||||
class EventHandler;
|
class EventHandler;
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
|
#include "Event.hxx"
|
||||||
#include "EventHandlerConstants.hxx"
|
#include "EventHandlerConstants.hxx"
|
||||||
#include "KeyMap.hxx"
|
#include "KeyMap.hxx"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue