Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
inputmapping.h
1
#pragma once
2
3
4
enum class
InputType {
5
None = 0,
6
Keyboard,
7
GamePadKey,
8
GamePadAxis
9
};
10
11
enum class
InputClass {
12
Primary,
13
Secondary
14
};
15
16
class
InputMapping
{
17
public
:
18
InputMapping
();
19
InputMapping
(InputType type,
int
index,
float
maxValue,
float
idleValue);
20
21
InputType type()
const
;
22
int
index()
const
;
23
float
maxValue()
const
;
24
float
idleValue()
const
;
25
26
private
:
27
InputType m_type;
28
int
m_index;
29
float
m_maxValue;
30
float
m_idleValue;
31
};
32
InputMapping
Definition:
inputmapping.h:16
src
input
inputmapping.h
Generated on Sun Mar 30 2014 13:32:31 for Voxellancer by
1.8.6