Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Data Fields

tPSP Struct Reference
[PSP-Nx V4]

#include <mindsensors-ps2ctrl-v4.h>

Data Fields

ubyte left1Btn
ubyte left2Btn
ubyte right1Btn
ubyte rigth2Btn
ubyte joypadLeft
ubyte joypadDown
ubyte joypadRight
ubyte joypadUp
ubyte triangleBtn
ubyte squareBtn
ubyte circleBtn
ubyte crossBtn
ubyte joystickLeftBtn
ubyte joystickRightBtn
ubyte selectBtn
ubyte startBtn
int joystickLeft_x
int joystickLeft_y
int joystickRight_x
int joystickRight_y

Detailed Description

Examples:

mindsensors-ps2ctrl-v4-test1.c.

Definition at line 82 of file mindsensors-ps2ctrl-v4.h.


Field Documentation

ubyte circleBtn

Circle button button value

Definition at line 95 of file mindsensors-ps2ctrl-v4.h.

ubyte crossBtn

Cross button button value

Definition at line 96 of file mindsensors-ps2ctrl-v4.h.

ubyte joypadDown

Joypad down button value

Definition at line 90 of file mindsensors-ps2ctrl-v4.h.

ubyte joypadLeft

Joypad left button value

Definition at line 89 of file mindsensors-ps2ctrl-v4.h.

ubyte joypadRight

Joypad right button value

Definition at line 91 of file mindsensors-ps2ctrl-v4.h.

ubyte joypadUp

Joypad up button value

Definition at line 92 of file mindsensors-ps2ctrl-v4.h.

Left joystick X value, scaled from 0 to 100

Examples:
mindsensors-ps2ctrl-v4-test1.c.

Definition at line 101 of file mindsensors-ps2ctrl-v4.h.

Left joystick X value, scaled from 0 to 100

Examples:
mindsensors-ps2ctrl-v4-test1.c.

Definition at line 102 of file mindsensors-ps2ctrl-v4.h.

Left joystick button value

Definition at line 97 of file mindsensors-ps2ctrl-v4.h.

Left joystick X value, scaled from 0 to 100

Examples:
mindsensors-ps2ctrl-v4-test1.c.

Definition at line 103 of file mindsensors-ps2ctrl-v4.h.

Left joystick X value, scaled from 0 to 100

Examples:
mindsensors-ps2ctrl-v4-test1.c.

Definition at line 104 of file mindsensors-ps2ctrl-v4.h.

Right joystick button value

Definition at line 98 of file mindsensors-ps2ctrl-v4.h.

ubyte left1Btn

L1 button value

Definition at line 85 of file mindsensors-ps2ctrl-v4.h.

ubyte left2Btn

L2 button value

Definition at line 86 of file mindsensors-ps2ctrl-v4.h.

ubyte right1Btn

R1 button value

Definition at line 87 of file mindsensors-ps2ctrl-v4.h.

ubyte rigth2Btn

R2 button value

Definition at line 88 of file mindsensors-ps2ctrl-v4.h.

ubyte selectBtn

Select button value

Definition at line 99 of file mindsensors-ps2ctrl-v4.h.

ubyte squareBtn

Square button button value

Definition at line 94 of file mindsensors-ps2ctrl-v4.h.

ubyte startBtn

Start button value

Definition at line 100 of file mindsensors-ps2ctrl-v4.h.

ubyte triangleBtn

Triangle button button value

Definition at line 93 of file mindsensors-ps2ctrl-v4.h.


The documentation for this struct was generated from the following file: