sculpto
Main Page
Namespaces
Classes
Files
File List
File Members
platform
windows
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
11
#include "
core/application/input.h
"
12
13
namespace
scl
14
{
16
class
windows_input_system
:
public
input_system
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
}
scl::input_system
Definition:
input.h:46
scl::windows_input_system
Definition:
windows_input.h:17
scl::windows_input_system::Init
void Init(window_handle *WindowHandle, int *MouseWheel)
Definition:
windows_input.cpp:88
scl::windows_input_system::SelfResponse
void SelfResponse() override
Definition:
windows_input.cpp:94
input.h
Abstract, platform independent input system definition mpdule.
scl
Definition:
base.h:33
scl::window_handle
int window_handle
Definition:
base.h:55
Generated by
1.9.4