mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
feat: the built-in pad can be a DualShock 4 or DualSense, its touchpad fed by the trackpads (#559)
This commit is contained in:
1 parent
95f92b157b
commit
e5ba165027
17 files changed
+466
-25
No files matched your search
@@ -113,6 +113,8 @@ public class FakeInputWriter {
|
||||
public static final int PAD_TYPE_DECK = 0;
|
||||
public static final int PAD_TYPE_STEAM = 1;
|
||||
public static final int PAD_TYPE_XBOX = 2;
|
||||
public static final int PAD_TYPE_DS4 = 3;
|
||||
public static final int PAD_TYPE_DUALSENSE = 4;
|
||||
/** The type chosen this process, written into a ring made after the choice too; -1 for none. */
|
||||
private static volatile int padType = -1;
|
||||
/** The paired controller's state, likewise written into a ring made after it connected. */
|
||||
|
||||
Reference in new issue
Block a user