x
, y
, a
, b
, back
, home
, forward
, lshoulder
, rshoulder
, lgrip
, rgrip
press
, release
press - button pressed down
{
timestamp: <Unix timestamp in ms>
}
release - button released
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
ltrigger
, rtrigger
press
, release
, move start
, move
, move stop
press - trigger physically pressed down until it clicks
{
timestamp: <Unix timestamp in ms>
}
release - trigger released from clicked state
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
move start - trigger has just moved away from its released position
{
timestamp: <Unix timestamp in ms>
}
move - trigger is moving (or being held) between its released position and pressed position
{
timestamp: <Unix timestamp in ms>,
val: <0 to 255>,
normval: <0.0 to 1.0>,
delta: <difference between this val and previous val>
}
move stop - trigger has stopped moving at either its released position or pressed position
{
timestamp: <Unix timestamp in ms>,
duration: <ms>,
state: <pressed | released>
}
lpad
, rpad
press
, release
, touch
, untouch
, move start
, move
, move stop
Left pad only: up press
, up release
, down press
, down release
, left press
, left release
, right press
, right release
press - pad physically pressed down until it clicks
{
timestamp: <Unix timestamp in ms>
}
release - pad released from its pressed state
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
touch - pad capacitive touch
{
timestamp: <Unix timestamp in ms>,
x: <-32768 to 32768>,
y: <-32768 to 32768>,
normx: <-1.0 to 1.0>,
normy: <-1.0 to 1.0>
}
untouch - capacitive touch release
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
move start
{
timestamp: <Unix timestamp in ms>
}
move
{
timestamp: <Unix timestamp in ms>,
x: <-32768 to 32768>,
y: <-32768 to 32768>,
normx: <-1.0 to 1.0>,
normy: <-1.0 to 1.0>,
deltax: <difference between this x and last x>,
deltay: <difference between this y and last y>
}
move stop
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
up press - up on dpad pressed down physically
{
timestamp: <Unix timestamp in ms>
}
up release - up on dpad released from pressed state
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
down press
down release
left press
left release
right press
right release
stick
press
, release
, move start
, move
, move stop
press
{
timestamp: <Unix timestamp in ms>
}
release
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}
move start - stick just moved from rest position
{
timestamp: <Unix timestamp in ms>
}
move - stick moving (or being held) away from rest position
{
timestamp: <Unix timestamp in ms>,
x: <-32768 to 32768>,
y: <-32768 to 32768>,
normx: <-1.0 to 1.0>,
normy: <-1.0 to 1.0>,
deltax: <difference between this x and last x>,
deltay: <difference between this y and last y>
}
move stop - stick returned to or moved through its rest position [0,0], even if for a brief instant while quickly thrashing it around.
{
timestamp: <Unix timestamp in ms>,
duration: <ms>
}