AntiMicroX
qtvmultikeymapper.h
Go to the documentation of this file.
1 /* antimicrox Gamepad to KB+M event mapper
2  * Copyright (C) 2015 Travis Nickles <nickles.travis@gmail.com>
3  * Copyright (C) 2020 Jagoda Górska <juliagoda.pl@protonmail>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9 
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14 
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef QTVMULTIKEYMAPPER_H
20 #define QTVMULTIKEYMAPPER_H
21 
22 #include "qtkeymapperbase.h"
23 
25 {
26 
27  public:
28  explicit QtVMultiKeyMapper(QObject *parent = nullptr);
29 
30  static const int consumerUsagePagePrefix = 0x12000;
31 
32  protected:
33  void populateMappingHashes() override;
34  void populateCharKeyInformation() override;
35 };
36 
37 #endif // QTVMULTIKEYMAPPER_H
QtKeyMapperBase::AntKey_Meta_R
@ AntKey_Meta_R
Definition: qtkeymapperbase.h:53
QtKeyMapperBase::AntKey_Shift_R
@ AntKey_Shift_R
Definition: qtkeymapperbase.h:50
QtKeyMapperBase::AntKey_KP_Add
@ AntKey_KP_Add
Definition: qtkeymapperbase.h:58
QtKeyMapperBase::AntKey_KP_Divide
@ AntKey_KP_Divide
Definition: qtkeymapperbase.h:55
QtVMultiKeyMapper::QtVMultiKeyMapper
QtVMultiKeyMapper(QObject *parent=nullptr)
Definition: qtvmultikeymapper.cpp:22
QtVMultiKeyMapper::populateMappingHashes
void populateMappingHashes() override
Definition: qtvmultikeymapper.cpp:29
QtKeyMapperBase::AntKey_KP_Subtract
@ AntKey_KP_Subtract
Definition: qtkeymapperbase.h:57
QtKeyMapperBase::AntKey_KP_9
@ AntKey_KP_9
Definition: qtkeymapperbase.h:82
QtKeyMapperBase::AntKey_KP_0
@ AntKey_KP_0
Definition: qtkeymapperbase.h:73
QtVMultiKeyMapper
Definition: qtvmultikeymapper.h:24
QtKeyMapperBase::AntKey_KP_Multiply
@ AntKey_KP_Multiply
Definition: qtkeymapperbase.h:56
QtKeyMapperBase::identifier
QString identifier
Definition: qtkeymapperbase.h:92
QtKeyMapperBase
Definition: qtkeymapperbase.h:25
QtKeyMapperBase::AntKey_Control_R
@ AntKey_Control_R
Definition: qtkeymapperbase.h:51
QtKeyMapperBase::AntKey_KP_Decimal
@ AntKey_KP_Decimal
Definition: qtkeymapperbase.h:59
qtkeymapperbase.h
QtVMultiKeyMapper::populateCharKeyInformation
void populateCharKeyInformation() override
Definition: qtvmultikeymapper.cpp:178
qtvmultikeymapper.h
QtKeyMapperBase::AntKey_KP_1
@ AntKey_KP_1
Definition: qtkeymapperbase.h:74
QtVMultiKeyMapper::consumerUsagePagePrefix
static const int consumerUsagePagePrefix
Definition: qtvmultikeymapper.h:30