sculpto
windows_input.h
Go to the documentation of this file.
1/*!****************************************************************//*!*
2 * \file windows_input.h
3 * \brief Input window_handle definition module.
4 *
5 * \author Sabitov Kirill
6 * \date 18 June 2022
7 *********************************************************************/
8
9#pragma once
10
12
13namespace scl
14{
17 {
18 private:
19 window_handle *WindowHandle {};
20 int *Wheel {};
21
22 void MouseInit();
23 void MouseRead();
24
25 void KeyboardInit();
26 void KeyboardRead();
27
28 public:
29 /*!*
30 * Windows specific input system initialisation function.
31 *
32 * \param WindowHandle - handle of window using interacting with.
33 * \param MouseWheel - reference to value representing mouse wheel state
34 * (need since it can't be obtaint by WinMM lib.)
35 */
36 void Init(window_handle *WindowHandle, int *MouseWheel);
37
38 protected:
39 /*!*
40 * Read all available human devies function.
41 *
42 * \param None.
43 * \return None.
44 */
45 void SelfResponse() override;
46 };
47}
void Init(window_handle *WindowHandle, int *MouseWheel)
void SelfResponse() override
Abstract, platform independent input system definition mpdule.
Definition: base.h:33
int window_handle
Definition: base.h:55