mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-01 12:31:04 +02:00
Implement dual stick, new bindings
Create bindings options for PS2 and Xbox like controll schemes, PS2 and Xbox bindings for dual stick
This commit is contained in:

committed by
Stefanos Kornilios Mitsis Poiitidis
parent
a12489844b
commit
c458e6c466
1115
src/core/Pad.cpp
Normal file → Executable file
1115
src/core/Pad.cpp
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@ public:
|
||||
int16 DPadUp, DPadDown, DPadLeft, DPadRight;
|
||||
int16 Start, Select;
|
||||
int16 Square, Triangle, Cross, Circle;
|
||||
uint32_t A, B, C, X, Y, Z;
|
||||
uint32_t A, B, C, D, X, Y, Z;
|
||||
int16 LeftShock, RightShock;
|
||||
int16 NetworkTalk;
|
||||
float GetLeftStickX(void) { return LeftStickX/32767.0f; };
|
||||
@@ -161,6 +161,8 @@ public:
|
||||
int32 LastTimeTouched;
|
||||
int32 AverageWeapon;
|
||||
int32 AverageEntries;
|
||||
bool IsKeyboardMouse;
|
||||
bool IsDualAnalog;
|
||||
|
||||
#ifdef DETECT_PAD_INPUT_SWITCH
|
||||
static bool IsAffectedByController;
|
||||
|
Reference in New Issue
Block a user