diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-03-23 23:40:15 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-03-23 23:40:15 +0100 |
| commit | 45168ae43e29aa5930ee5a206475ae836078915f (patch) | |
| tree | 6584ce5b0dbe27a466c95c81fac61b0d90f627bd /libpsn00b/include | |
| parent | 6c19e712e2588b52791f604feb31273acb074d41 (diff) | |
| download | psn00bsdk-45168ae43e29aa5930ee5a206475ae836078915f.tar.gz | |
Add FPS counter to n00bdemo, more psxpad commands
Diffstat (limited to 'libpsn00b/include')
| -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) |
