diff options
| author | John "Lameguy" Wilbert Villamor <lameguy64@gmail.com> | 2022-03-25 09:22:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-25 09:22:20 +0800 |
| commit | 975e614b3c840e2f717adac1d1cb9cee4e5e561b (patch) | |
| tree | 6584ce5b0dbe27a466c95c81fac61b0d90f627bd /libpsn00b/include/psxpad.h | |
| parent | 05d44488bd5587786f4bd0286fc0f555c79aa46a (diff) | |
| parent | 45168ae43e29aa5930ee5a206475ae836078915f (diff) | |
| download | psn00bsdk-975e614b3c840e2f717adac1d1cb9cee4e5e561b.tar.gz | |
Merge pull request #46 from spicyjpeg/psxmdec
Critical ldscript fixes, initial MDEC support and CI updates
Diffstat (limited to 'libpsn00b/include/psxpad.h')
| -rw-r--r-- | libpsn00b/include/psxpad.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libpsn00b/include/psxpad.h b/libpsn00b/include/psxpad.h index 9638ec1..32f7f8a 100644 --- a/libpsn00b/include/psxpad.h +++ b/libpsn00b/include/psxpad.h @@ -75,12 +75,16 @@ typedef enum { typedef enum { PAD_CMD_INIT_PRESSURE = '@', // Initialize DS2 button pressure sensors (in config mode) - PAD_CMD_READ = 'B', // Read pad state and set rumble + PAD_CMD_READ = 'B', // Read pad state (exchange poll request/response) PAD_CMD_CONFIG_MODE = 'C', // Toggle DualShock configuration mode PAD_CMD_SET_ANALOG = 'D', // Set analog mode/LED state (in config mode) PAD_CMD_GET_ANALOG = 'E', // Get analog mode/LED state (in config mode) - PAD_CMD_REQUEST_CONFIG = 'M', // Configure request/unlock vibration (in config mode) - PAD_CMD_RESPONSE_CONFIG = 'O', // Configure response/unlock DS2 pressure (in config mode) + PAD_CMD_GET_MOTOR_INFO = 'F', // Get information about a vibration motor (in config mode) + PAD_CMD_GET_MOTOR_LIST = 'G', // Get list of all vibration motors (in config mode) + PAD_CMD_GET_MOTOR_STATE = 'H', // Get current state of vibration motors (in config mode) + PAD_CMD_GET_MODE = 'L', // Get list of supported controller modes? (in config mode) + PAD_CMD_REQUEST_CONFIG = 'M', // Configure poll request format (in config mode) + PAD_CMD_RESPONSE_CONFIG = 'O', // Configure poll response format (in config mode) MCD_CMD_READ_SECTOR = 'R', // Read 128-byte sector MCD_CMD_IDENTIFY = 'S', // Retrieve ID and card size information (Sony cards only) |
