+class SKeySym {
+public:
+ union {
+ struct { uint32_t key, msk; };
+ uint64_t v;
+ };
+ SKeySym() { v = 0; }
+ SKeySym(int k) { key = k; msk = 0; }
+ SKeySym(unsigned k, unsigned m) { key = k; msk = m; }
+ bool operator ==(SKeySym &ks) { return ks.v == v; }
+ operator int() { return key; }
+};
+