Nebula
Loading...
Searching...
No Matches
gamepad.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
12
#if __VULKAN__
13
#include "
input/base/gamepadbase.h
"
14
namespace
Input
15
{
16
class
GamePad
:
public
Base::GamePadBase
17
{
18
__DeclareClass
(
GamePad
);
19
};
20
}
21
#elif __WIN32__
22
#include "input/xinput/xinputgamepad.h"
23
namespace
Input
24
{
25
class
GamePad
:
public
XInput::XInputGamePad
26
{
27
__DeclareClass
(
GamePad
);
28
};
29
}
30
#else
31
#error "GamePad class not implemented on this platform!"
32
#endif
33
//------------------------------------------------------------------------------
34
Base::GamePadBase
An input handler which represents one of at most 4 game pads.
Definition
gamepadbase.h:23
GamePad
An input handler which represents a game pad.
gamepadbase.h
Input
FIXME!
__DeclareClass
#define __DeclareClass(type)
code
input
input
gamepad.h
Generated on Fri Nov 22 2024 12:50:59 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.