The Pedigree Project
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
modules
drivers
common
hid
HidUsages.h
1
/*
2
* Copyright (c) 2008-2014, Pedigree Developers
3
*
4
* Please see the CONTRIB file in the root of the source tree for a full
5
* list of contributors.
6
*
7
* Permission to use, copy, modify, and distribute this software for any
8
* purpose with or without fee is hereby granted, provided that the above
9
* copyright notice and this permission notice appear in all copies.
10
*
11
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
*/
19
20
#ifndef HIDUSAGES_H
21
#define HIDUSAGES_H
22
23
#include "pedigree/kernel/processor/types.h"
24
25
namespace
HidUsagePages
26
{
28
enum
HidUsagePages
29
{
30
Undefined = 0x00,
31
GenericDesktop = 0x01,
32
Simulation = 0x02,
33
VR = 0x03,
34
Sport = 0x04,
35
Game = 0x05,
36
GenericDevice = 0x06,
37
Keyboard
= 0x07,
38
Led = 0x08,
39
Button = 0x09,
40
Ordinal = 0x0a,
41
Telephony = 0x0b,
42
Consumer = 0x0c,
43
Digitizer = 0x0d,
44
Pid = 0x0f,
45
Unicode = 0x10
46
};
47
};
// namespace HidUsagePages
48
49
namespace
HidUsages
50
{
52
enum
HidUsages
53
{
54
// Generic Desktop Page
55
Pointer = 0x01,
56
Mouse = 0x02,
57
Joystick = 0x04,
58
GamePad = 0x05,
59
Keyboard
= 0x06,
60
Keypad = 0x07,
61
X = 0x30,
62
Y = 0x31,
63
Z = 0x32,
64
Rx = 0x33,
65
Ry = 0x34,
66
Rz = 0x35,
67
Wheel = 0x38,
68
};
69
};
// namespace HidUsages
70
71
#endif
HidUsages
Definition:
HidUsages.h:49
HidUsagePages
Definition:
HidUsages.h:25
Keyboard
Definition:
environment.h:36
Generated on Fri Jan 24 2020 06:46:13 for The Pedigree Project by
1.8.11