nn::hid::CTR::TouchPanelStatus StructureStructure used to store sampling data from the touch screen.
Gets the coordinates of a pixel, with (0,0) defined as the lower-left corner of the lower screen. The five-pixel border on the outer edge of the Touch Screen cannot accept input. Any raw input to this area is clamped inside this border.
| x | u16 | X coordinate (5 <= x <= 314, where DISPLAY1_HEIGHT of nn::gx::CTR::DisplaySize is a value clamped inside by 5. |
|
|---|---|---|---|
| y | u16 | Y coordinate (5 <= y <= 234, where DISPLAY1_WIDTH of nn::gx::CTR::DisplaySize is a value clamped inside by 5). |
|
| touch | u8 | Touch determination (0: pen-up; 1: touch) |
CONFIDENTIAL