diff options
author | Constantin Riß <constantin.riss@dre.de> | 2010-03-01 23:30:40 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2010-03-01 23:30:40 +0100 |
commit | 070051b8759806873267cff46ceb2be7d6a3262f (patch) | |
tree | a19b03e51847d3dee10514e456a4c7921b306b3e /Keys.h | |
download | headshot-070051b8759806873267cff46ceb2be7d6a3262f.tar headshot-070051b8759806873267cff46ceb2be7d6a3262f.zip |
initial commit
Diffstat (limited to 'Keys.h')
-rw-r--r-- | Keys.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,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_ */ |