1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* * Keys.h * * Created on: 10.02.2010 * Author: constantin */ #ifndef KEYS_H_ #define KEYS_H_ #include <bitset> enum Keys { KEY_UP = 0, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_LAST }; typedef std::bitset<KEY_LAST> Keyset; #endif /* KEYS_H_ */