nn::hid::CTR::TouchPanelReader

nn::hid::CTR::TouchPanelReader Class

Syntax

class TouchPanelReader : private nn::util::NonCopyable< TouchPanelReader >

Description

Class for reading sampling data from the Touch Screen.

The Touch Screen is sampled every 4 ms.

Member Constants

S MAX_READ_NUM const s8 The maximum number of data samples that can be read.

Member Functions

TouchPanelReader Constructor.
~TouchPanelReader Destructor.
Read Reads sampling data from the Touch Screen, starting with the latest samples. Any previously loaded data is not read.
ReadLatest Reads the latest sampling data from the gamepad. Unlike nn::hid::CTR::TouchPanelReader::Read, it is possible to read the same sampling data.

Class Hierarchy

nn::util::NonCopyable
  nn::hid::CTR::TouchPanelReader

Revision History

2010/01/07
Initial version.

CONFIDENTIAL