Sony DualSense

VID:PID 0x054c:0x0ce6

Vendor sony

Interfaces

IDClassEP INEP OUT
3hid

Report: usb (64 bytes, interface 3)

Match: byte[0] = 0x01

Fields

NameOffsetTypeTransform
touch1_contact37u8
accel_x22i16le
sensor_timestamp28u32le
left_x1u8scale(-32768, 32767)
touch0_contact33u8
lt5u8
accel_y24i16le
accel_z26i16le
gyro_z20i16le
gyro_y18i16le
battery_levelbits[53,0,4]unsigned
right_x3u8scale(-32768, 32767)
gyro_x16i16le
rt6u8
left_y2u8scale(-32768, 32767), negate
right_y4u8scale(-32768, 32767), negate

Button Map

Source: offset 8, size 3 byte(s)

ButtonBit Index
LT10
Mic18
RT11
B6
LS14
RS15
X4
LB8
RB9
A5
Select12
Home16
Start13
Y7
TouchPad17

Report: bt (78 bytes, interface 3)

Match: byte[0] = 0x31

Fields

NameOffsetTypeTransform
touch1_contact38u8
accel_x23i16le
sensor_timestamp29u32le
left_x2u8scale(-32768, 32767)
touch0_contact34u8
lt6u8
accel_y25i16le
accel_z27i16le
gyro_z21i16le
gyro_y19i16le
battery_levelbits[54,0,4]unsigned
right_x4u8scale(-32768, 32767)
gyro_x17i16le
rt7u8
left_y3u8scale(-32768, 32767), negate
right_y5u8scale(-32768, 32767), negate

Button Map

Source: offset 9, size 3 byte(s)

ButtonBit Index
LT10
Mic18
RT11
B6
LS14
RS15
X4
LB8
RB9
A5
Select12
Home16
Start13
Y7
TouchPad17

Commands

NameInterfaceTemplate
led302 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
rumble302 01 00 {weak:u8} {strong:u8} 00 00 00 00 00 00 00 00 00 00...
adaptive_trigger_feedback302 0c 00 00 00 00 00 00 00 00 00 01 {r_position:u8} {r_stren...
adaptive_trigger_vibration302 0c 00 00 00 00 00 00 00 00 00 06 {r_position:u8} {r_ampli...
adaptive_trigger_weapon302 0c 00 00 00 00 00 00 00 00 00 02 {r_start:u8} {r_end:u8} ...
adaptive_trigger_off302 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

Output Capabilities

uinput device name: Sony DualSense | VID 0x054c | PID 0x0ce6

Axes

FieldCodeMinMaxFuzzFlat
ltABS_Z025500
left_xABS_X-327683276716128
rtABS_RZ025500
right_xABS_RX-327683276716128
left_yABS_Y-327683276716128
right_yABS_RY-327683276716128

Buttons

ButtonEvent Code
MicBTN_MISC
BBTN_EAST
LSBTN_THUMBL
RSBTN_THUMBR
XBTN_WEST
LBBTN_TL
RBBTN_TR
ABTN_SOUTH
SelectBTN_SELECT
HomeBTN_MODE
StartBTN_START
YBTN_NORTH
TouchPadBTN_TOUCH

Force feedback: type=rumble, max_effects=16