29 #ifndef XPLRA_HOTKEYHANDLER_H
30 #define XPLRA_HOTKEYHANDLER_H
33 #include <hu/varadiistvan/scpl/Mutex.h>
43 namespace hu {
namespace varadiistvan {
namespace scpl {
namespace io {
113 void writePressed(hu::varadiistvan::scpl::io::DataStream& stream);
127 static int keyCallback(
char c, XPLMKeyFlags flags,
char virtualKey,
133 hu::varadiistvan::scpl::Mutex
mutex;
162 bool handleKey(
char c, XPLMKeyFlags flags,
char virtualKey);
bool handleKey(uint16_t code)
Hotkeys(size_t numHotkeys, hu::varadiistvan::scpl::io::DataStream &stream)
void writePressed(hu::varadiistvan::scpl::io::DataStream &stream)
std::list< Hotkeys * > hotkeySets_t
bool handleKey(char c, XPLMKeyFlags flags, char virtualKey)
static int keyCallback(char c, XPLMKeyFlags flags, char virtualKey, void *refCon)
void unregisterHotkeys(Hotkeys *hotkeys)
hu::varadiistvan::scpl::Mutex mutex
void registerHotkeys(Hotkeys *hotkeys)
Python client module for the X-Plane Remote Access plugin.