#include <windows_input.h>
Windows specific input system class.
Definition at line 16 of file windows_input.h.
◆ Init()
void scl::windows_input_system::Init |
( |
window_handle * |
WindowHandle, |
|
|
int * |
MouseWheel |
|
) |
| |
- Windows specific input system initialisation function.
- Parameters
-
WindowHandle | - handle of window using interacting with. |
MouseWheel | - reference to value representing mouse wheel state (need since it can't be obtaint by WinMM lib.) |
Definition at line 88 of file windows_input.cpp.
89{
90 this->WindowHandle = WindowHandle;
91 this->Wheel = MouseWheel;
92}
◆ SelfResponse()
void scl::windows_input_system::SelfResponse |
( |
| ) |
|
|
overrideprotectedvirtual |
- Read all available human devies function.
- Parameters
-
- Returns
- None.
Reimplemented from scl::input_system.
Definition at line 94 of file windows_input.cpp.
95{
96 if (WindowHandle == nullptr || Wheel == nullptr) return;
97
98 MouseRead();
99 KeyboardRead();
100}
The documentation for this class was generated from the following files: