1 #ifndef CPP3DS_KEYBOARD_HPP
2 #define CPP3DS_KEYBOARD_HPP
37 CStickRight = 1 << 24,
46 Down = DPadDown | CPadDown,
47 Left = DPadLeft | CPadLeft,
81 static float getSlider3D();
83 static float getSliderVolume();
92 static float m_slider3d;
93 static float m_sliderVolume;
96 static u32 m_keysHeld;
97 static u32 m_keysPressed;
98 static u32 m_keysReleased;
static bool isKeyReleased(Key key)
Check if a key is now being released.
Either DPadLeft or CPadLeft.
Either DPadRight or CPadRight.
static bool isKeyPressed(Key key)
Check if a key is now being pressed.
The ZL button (New 3DS only)
Either DPadDown or CPadDown.
Give access to the real-time state of the keyboard.
The ZR button (New 3DS only)
static void update()
Update cache values for input.
static bool isKeyDown(Key key)
Check if a key is still being pressed.