Difference between revisions of "HID Registers"

From 3dbrew
Jump to navigation Jump to search
Line 15: Line 15:
  
 
==HID_PAD==
 
==HID_PAD==
 +
Each bit in this register refers to a particular key. Each bit is set if the corresponding key is '''not''' pressed, and unset if it's pressed.
 +
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
!  Bit
 
!  Bit

Revision as of 00:27, 17 May 2016

Registers

Old3DS Name Address Width Used by
Yes HID_PAD 0x10146000 4

HID_PAD

Each bit in this register refers to a particular key. Each bit is set if the corresponding key is not pressed, and unset if it's pressed.

Bit Key
0 A
1 B
2 Select
3 Start
4 Right
5 Left
6 Up
7 Down
8 R
9 L
10 X
11 Y