1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright (c) 2020 - Jonathan De Wachter
//
// This source file is part of the Byteplug framework which is released under the MIT license.
// Please refer to the LICENSE file that can be found at the root of the project directory.
//
// Written by Jonathan De Wachter <dewachter.jonathan@gmail.com>, January 2020
//! Give access to the real-time state of gamepads.
//!
//! Additional documentation is to be written here.
/// # An enumeration of the gamepad d-pad directions
///
/// The **Component struct** is not documented yet. Pull requests are welcome.
///
/// # An enumeration of the gamepad joysticks.
///
/// Long description.
///
/// # An enumeration of the gamepad buttons
///
/// Long description.
///
/// # Brief description
///
/// Long description.
///