Input Overview

Sce.PlayStation.Core.Input provides a feature to obtain information of the input device.

The GamePad class represents the gamepad, the Touch class represents the touch panel, and the Motion class represents the motion sensor. All of them are static classes.

Gamepad

GamePad.GetData() returns the GamePadData structure, which stores gamepad states. Periodically call GamePad.GetData() and control the application according to the state of the gamepad.

To enable/disable the gamepad, edit app.xml with Publishing Utility.

Touch Panel

Touch.GetData() / Touch.GetRearTouchData() returns an array of TouchData structures, which stores states of fingers touching the front/rear touch panel. When multiple fingers are touching the touch panel, multiple TouchData structures will be stored in the array and returned. Periodically call Touch.GetData() / Touch.GetRearTouchData() and control the application according to the state of the touch panel.

To enable/disable the touch panel, edit app.xml with Publishing Utility.

About Touch ID

It is important to note that the method for allocation of Touch ID varies depending on the device to be executed.

However, a duplicate ID is not provided between multiple fingers pressing at the same time on front/rear panel.

Maximum number that can be recognized by multitouch

The maximum number of points recognizable by multitouch varies by device.

PS Vita supports up to 6 points on front panel, 4 points on rear panel.

Motion Sensor

Motion.GetData() returns the MotionData structure that stores the acceleration and angular velocity values detected by the motion sensor. Periodically call Motion.GetData() and control the application according to the state of the motion sensor.

To enable/disable the motion sensor, edit app.xml with Publishing Utility.