Files
barrier/KeyTypes.h
crs 900b075e3a initial revision of synergy. currently semi-supports X windows
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.
2001-05-13 11:40:29 +00:00

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