Split controller motion events onto their own channels

This commit is contained in:
Cameron Gutman 2023-07-04 16:18:52 -05:00
commit 377d37503f
3 changed files with 7 additions and 6 deletions

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