Class that keeps track of all the keys on the keyboard. More...
#include <key.hpp>
Public Member Functions | |
CKey () | |
bool | operator[] (int k) const |
Private Attributes | |
const boost::uint8_t * | key_list |
Class that keeps track of all the keys on the keyboard.
Whether any key is pressed or not can be found by using its operator[]. Note though that it is generally better to use key events to see when keys are pressed rather than to poll using this object.
|
private |
Definition at line 29 of file key.hpp.
Referenced by operator[]().