libOpenWinControls
Multiplatform open-source library to interact with the dual-mode controller in GPD devices
Toggle main menu visibility
Loading...
Searching...
No Matches
ControllerFeature.h
Go to the documentation of this file.
1
/*
2
* This file is part of libOpenWinControls.
3
* Copyright (C) 2026 kylon
4
*
5
* libOpenWinControls 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
* libOpenWinControls 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
#pragma once
19
23
namespace
OWC {
28
enum
ControllerFeature
:
int
{
29
DeadZoneControlV1
= 1,
30
ShoulderLedsV1
= 1 << 1,
31
RumbleV1
= 1 << 2,
32
XinputMappingV1
= 1 << 3,
33
BackButton3
= 1 << 4,
34
BackButton4
= 1 << 5
35
};
36
}
OWC::ControllerFeature
ControllerFeature
Controller feature flags.
Definition
ControllerFeature.h:28
OWC::RumbleV1
@ RumbleV1
vibration intensity
Definition
ControllerFeature.h:31
OWC::BackButton4
@ BackButton4
back button 4 is present
Definition
ControllerFeature.h:34
OWC::DeadZoneControlV1
@ DeadZoneControlV1
analog sticks center and boundary controls
Definition
ControllerFeature.h:29
OWC::BackButton3
@ BackButton3
back button 3 is present
Definition
ControllerFeature.h:33
OWC::ShoulderLedsV1
@ ShoulderLedsV1
shoulder leds mode and color
Definition
ControllerFeature.h:30
OWC::XinputMappingV1
@ XinputMappingV1
xinput mode remapping
Definition
ControllerFeature.h:32
src
include
ControllerFeature.h
Generated by
1.18.0