OpenBarnyard
 
Loading...
Searching...
No Matches
TInputDeviceMouse.h
Go to the documentation of this file.
1
11
12#pragma once
13#include "TInputInterface.h"
14
16
18{
19public:
21
22public:
23 enum : Doodad
24 {
25 BUTTON_1 = 0x30001,
26 BUTTON_2 = 0x30002,
27 BUTTON_3 = 0x30003,
28 BUTTON_4 = 0x30004,
29 BUTTON_5 = 0x30005,
30 BUTTON_6 = 0x30006,
31 BUTTON_7 = 0x30007,
32 BUTTON_8 = 0x30008,
35 AXIS_CURSOR = 0x3000B,
36 AXIS_WHEEL = 0x3000C,
37 };
38
39public:
42
43 virtual TBOOL GetDoodadProperties( Doodad a_iDoodad, TInputDevice::DoodadProperties& props ) const override;
44 virtual const TCHAR* GetButtonFromDoodad( Doodad a_iDoodad ) const override;
45};
46
Input system interface for the Toshi engine.
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
char TCHAR
Definition Typedefs.h:20
bool TBOOL
Definition Typedefs.h:6
TDECLARE_CLASS(TInputDeviceMouse, TInputDevice)
virtual const TCHAR * GetButtonFromDoodad(Doodad a_iDoodad) const override
virtual TBOOL GetDoodadProperties(Doodad a_iDoodad, TInputDevice::DoodadProperties &props) const override