RhythmGame
1.4.3
Loading...
Searching...
No Matches
src
input
BmsKeys.h
Go to the documentation of this file.
1
//
2
// Created by bobini on 22.06.23.
3
//
4
5
#ifndef RHYTHMGAME_BMSKEYS_H
6
#define RHYTHMGAME_BMSKEYS_H
7
8
#include <QObject>
12
namespace
input
{
13
Q_NAMESPACE
19
enum class
BmsKey
20
{
21
Col11
= 0,
22
Col12
,
23
Col13
,
24
Col14
,
25
Col15
,
26
Col16
,
27
Col17
,
28
Col1sUp
,
29
Col21
,
30
Col22
,
31
Col23
,
32
Col24
,
33
Col25
,
34
Col26
,
35
Col27
,
36
Col2sUp
,
37
Start1
,
38
Select1
,
39
Col1sDown
,
40
Start2
,
41
Select2
,
42
Col2sDown
,
43
};
44
Q_ENUM_NS(
BmsKey
)
45
46
auto
47
playerIndexFromKey
(
BmsKey
key) -> int;
48
auto
49
convertToP1Key
(
BmsKey
key) ->
BmsKey
;
50
}
// namespace input
51
52
#endif
// RHYTHMGAME_BMSKEYS_H
input
Various input-related classes and functions.
Definition
BmsKeys.h:12
input::playerIndexFromKey
auto playerIndexFromKey(BmsKey key) -> int
Definition
BmsKeys.cpp:7
input::BmsKey
BmsKey
The keys used for BMS.
Definition
BmsKeys.h:20
input::BmsKey::Col16
@ Col16
input::BmsKey::Start1
@ Start1
input::BmsKey::Start2
@ Start2
input::BmsKey::Col17
@ Col17
input::BmsKey::Col26
@ Col26
input::BmsKey::Col2sDown
@ Col2sDown
input::BmsKey::Col15
@ Col15
input::BmsKey::Select1
@ Select1
input::BmsKey::Col23
@ Col23
input::BmsKey::Col27
@ Col27
input::BmsKey::Col1sDown
@ Col1sDown
input::BmsKey::Col14
@ Col14
input::BmsKey::Col1sUp
@ Col1sUp
input::BmsKey::Col13
@ Col13
input::BmsKey::Select2
@ Select2
input::BmsKey::Col25
@ Col25
input::BmsKey::Col12
@ Col12
input::BmsKey::Col22
@ Col22
input::BmsKey::Col21
@ Col21
input::BmsKey::Col24
@ Col24
input::BmsKey::Col2sUp
@ Col2sUp
input::BmsKey::Col11
@ Col11
input::convertToP1Key
auto convertToP1Key(BmsKey key) -> BmsKey
Definition
BmsKeys.cpp:26
Generated by
1.9.8