[HID] Fixed some issues with controller/passthrough visibility.

- Moved X_INPUT flags from kernel to HID
- Added ability to return input type from driver
This commit is contained in:
Gliniak
2024-12-23 10:43:27 +01:00
parent 11f14e8488
commit 2e521383c2
15 changed files with 110 additions and 52 deletions

View File

@@ -26,6 +26,12 @@ enum X_INPUT_CAPS {
enum X_INPUT_FLAG {
X_INPUT_FLAG_GAMEPAD = 0x00000001,
X_INPUT_FLAG_KEYBOARD = 0x00000002,
X_INPUT_FLAG_UNKNOWN = 0x00000004,
X_INPUT_FLAG_UNKNOWN2 = 0x00000008,
X_INPUT_FLAG_MIC = 0x00000020,
X_INPUT_FLAG_ANYDEVICE = 0x000000FF,
X_INPUT_FLAG_ANY_USER = 1 << 30
};
enum X_INPUT_GAMEPAD_BUTTON {