Index

zydeco / 0dd781a

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
405 Aug 2023 20:500dd781aCreate event handling and threads structureJosh Stockin1160G

Blob @ zydeco / include / events / IEventKeyboardSubscriber.hpp

text/plain346 bytesdownload raw
1#ifndef IEVENT_KEYBOARD_SUBSCRIBER_HPP_
2#define IEVENT_KEYBOARD_SUBSCRIBER_HPP_
3
4
5#include <cstdint>
6
7
8class IEventKeyboardSubscriber
9{
10public:
11 virtual void OnKeyPressEvent(uint64_t key_code, uint64_t key_mod) = 0;
12 virtual void OnKeyReleaseEvent(uint64_t key_code, uint64_t key_mod) = 0;
13};
14
15
16#endif /* IEVENT_KEYBOARD_SUBSCRIBER_HPP_ */
17