void sendGamepadStatus(tController player)| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| tController.player | 是 | byte | 0 – 玩家1 、1 – 玩家2、2 – 玩家3 、3 – 玩家4 |
| tController.wButtons | 是 | byte | 按键值 |
| tController.bLeftTrigger | 是 | byte | LT键,值范围0 ~255 |
| tController.bRightTrigger | 是 | byte | RT键,值范围0 ~255 |
| tController.LX | 是 | short | 左摇杆左右方向,值范围-32768(左) ~ 0 (中) ~ 32767(右) |
| tController.LY | 是 | short | 左摇杆上下方向,值范围-32768(上) ~ 0 (中) ~ 32767(下) |
| tController.RX | 是 | short | 右摇杆左右方向,值范围-32768(左) ~ 0 (中) ~ 32767(右) |
| tController.RY | 是 | short | 右摇杆上下方向,值范围-32768(上) ~ 0 (中) ~ 32767(下) |