# Game pad probe: the DirectInput gamepad exists from boot; check that the
# game created it (slot [0x86ffb4]), gave it input channel 1 (0x874fb0) with
# the default layout, and that pad input reaches the channel.
0     pad connect              # the default mode offers the device once a controller is seen
200   log pad probe
+0    peek 0x86ffb4 2          # joystick slots 0/1 (device pointers)
+0    peek 0x86f8a8 1          # slot is-gamepad flags
+0    peek 0x870764 1          # number of input channels in use
+0    peek 0x8751e0 2          # channel 1: +0x230 slot, +0x234 device type
+0    peek 0x874fc8 20         # channel 1 in-game table (+0x18)
+0    peek 0x875048 24         # channel 1 front-end table (+0x98)
+0    peek 0x8752f4 9          # channel 1 analog axes (+0x344..+0x364)
+0    pad A down
+5    peek 0x86ffc0 14         # DIJOYSTATE2 slot 0 (axes, POVs, buttons)
+0    peek 0x874fb8 3          # channel 1 action mask lo/hi, analog bytes
+0    pad A up
+0    axis LX 0.5
+0    trigger RT 1.0
+5    peek 0x86ffc0 8
+0    peek 0x874fb8 3
+0    axis LX -1
+0    trigger RT 0
+0    trigger LT 0.5
+5    peek 0x874fb8 3
+60   quit
