![]() |
Lua Player Plus Vita
Documentation of lpp-vita
|
Public Member Functions | |
| int | read (int port) |
| Read pressed buttons. | |
| int[] | readLeftAnalog (int port) |
| Read left analog state. | |
| int[] | readRightAnalog (int port) |
| Read right analog state. | |
| int[] | readTouch (void) |
| Read touchscreen state. | |
| int[] | readRetroTouch (void) |
| Read rearpad state. | |
| bool | check (int bitmask, Ctrl value) |
| Check if a button is pressed. | |
| void | rumble (int port, int small, int large) |
| Changes vibration intensity for Dualshock devices. | |
| void | setLightbar (int port, int color) |
| Set lightbar color for Dualshock 4 devices. | |
| void | lockHomeButton (void) |
| Locks default PS button functionality. | |
| void | unlockHomeButton (void) |
| Unlocks default PS button functionality. | |
| table | getDeviceInfo (void) |
| Get info about controllers. | |
| bool | headsetStatus (void) |
| Check if an headset is plugged in. | |
| Ctrl | getEnterButton (void) |
| Return set controller enter button. | |
| void | enableGyro (void) |
| Enable gyroscope sensor. | |
| void | enableAccel (void) |
| Enable accelerometer sensor. | |
| void | disableGyro (void) |
| Disable gyroscope sensor. | |
| void | disableAccel (void) |
| Disable accelerometer sensor. | |
| number[] | readGyro (void) |
| Read gyroscope state. | |
| number[] | readAccel (void) |
| Read accelerometer state. | |