diff options
Diffstat (limited to 'lib/nes/app/input')
| -rw-r--r-- | lib/nes/app/input/input-buffer.hh | 1 | ||||
| -rw-r--r-- | lib/nes/app/input/input-event.hh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/nes/app/input/input-buffer.hh b/lib/nes/app/input/input-buffer.hh index 68fca6b..319cfa9 100644 --- a/lib/nes/app/input/input-buffer.hh +++ b/lib/nes/app/input/input-buffer.hh @@ -7,6 +7,7 @@ namespace nes::app { class input_event; + /// A buffer which stores the "pressed" state for each key and a queue of key-down and key-up events. class input_buffer { struct event final : list<event>::node diff --git a/lib/nes/app/input/input-event.hh b/lib/nes/app/input/input-event.hh index 90e67b0..26d6448 100644 --- a/lib/nes/app/input/input-event.hh +++ b/lib/nes/app/input/input-event.hh @@ -4,6 +4,7 @@ namespace nes::app { + /// A keyboard input event which can be polled. class input_event { public: |
