趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Friends | List of all members
hrk::Key_event Class Reference
Inheritance diagram for hrk::Key_event:
Inheritance graph
[legend]
Collaboration diagram for hrk::Key_event:
Collaboration graph
[legend]

Public Types

enum  state_t { Pressed = SDL_PRESSED, Released = SDL_RELEASED }
 
enum  mod_t { KMOD_ANY = 0xffff }
 

Public Member Functions

 Key_event (SDLKey key, state_t state=Pressed, int mod=KMOD_NONE)
 
bool is_activated (void) const
 
void set_activated (bool activate)
 

Friends

class Input_events
 

The documentation for this class was generated from the following files: