mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-07 12:25:07 +08:00
on unix, but client screens don't simulate events other than mouse move. also not supporting clipboard at all yet and the main app is just a temporary framework to test with. must clean up protocol and communication.
19 lines
418 B
C
19 lines
418 B
C
#ifndef KEYTYPES_H
|
|
#define KEYTYPES_H
|
|
|
|
// type to hold a key identifier
|
|
typedef UInt32 KeyID;
|
|
|
|
// type to hold bitmask of keys that have toggle states
|
|
typedef UInt16 KeyToggleMask;
|
|
|
|
// toggle key bitmasks
|
|
static const UInt32 KeyToggleShiftLock = 0x0001;
|
|
static const UInt32 KeyToggleNumLock = 0x0002;
|
|
static const UInt32 KeyToggleScrollLock = 0x0004;
|
|
|
|
// key codes
|
|
static const KeyID kKeyNone = 0;
|
|
|
|
#endif
|