Split controller motion events onto their own channels

This commit is contained in:
Cameron Gutman committed 2023-07-04 16:18:52 -05:00
1 parent 53c29f11ba
commit 377d37503f
3 files changed
+7 -6

No files matched your search

+3 -2
View File
@@ -60,8 +60,9 @@ extern uint32_t SunshineFeatureFlags;
#define CTRL_CHANNEL_PEN 0x04
#define CTRL_CHANNEL_TOUCH 0x05
#define CTRL_CHANNEL_UTF8 0x06
#define CTRL_CHANNEL_GAMEPAD_BASE 0x10 // 0x10 to 0x20 by controller index
#define CTRL_CHANNEL_MAX 0x20
#define CTRL_CHANNEL_GAMEPAD_BASE 0x10 // 0x10 to 0x1F by controller index
#define CTRL_CHANNEL_SENSOR_BASE 0x20 // 0x20 to 0x2F by controller index
#define CTRL_CHANNEL_COUNT 0x30
#ifndef UINT24_MAX
#define UINT24_MAX 0xFFFFFF