Function ctru_sys::hidKeysHeld

source ·
pub unsafe extern "C" fn hidKeysHeld() -> u32_
Expand description

Returns a bitmask of held buttons. Individual buttons can be extracted using binary AND.

§Returns

32-bit bitmask of held buttons (1+ frames).