[][src]Function fermium::keyboard::SDL_GetScancodeFromName

pub unsafe extern "C" fn SDL_GetScancodeFromName(
    name: *const c_char
) -> SDL_Scancode

Get a scancode from a human-readable name.

Return: the scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized.