Commit 88af3c0b authored by Stephen Anthony's avatar Stephen Anthony
Browse files

Add ARM detection to bspf.

Fixed a few minor warnings.
parent 66c58847
......@@ -610,4 +610,4 @@ bool PhysicalKeyboardHandler::handleControlEvent(StellaKey key, StellaMod mod, b
handled = false;
return handled;
}
\ No newline at end of file
}
......@@ -75,7 +75,8 @@ class PhysicalKeyboardHandler
// Array of key events, indexed by StellaKey
Event::Type myKeyTable[KBDK_LAST][kNumModes];
// Array of mod keys, indexed by StellaKey
StellaMod myModKeyTable[KBDK_LAST][kNumModes];
// TODO - uncomment when this is ready
//StellaMod myModKeyTable[KBDK_LAST][kNumModes];
// Sometimes key combos with the Alt key become 'stuck' after the
// window changes state, and we want to ignore that event
......
......@@ -111,6 +111,10 @@ namespace BSPF
static const string ARCH = "x86_64";
#elif defined(__powerpc__) || defined(__ppc__)
static const string ARCH = "ppc";
#elif defined(__arm__) || defined(__thumb__)
static const string ARCH = "arm32";
#elif defined(__aarch64__)
static const string ARCH = "arm64";
#else
static const string ARCH = "NOARCH";
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment