get_code

Function get_code 

Source
pub fn get_code(button: &Button, platform: Platform) -> usize
Expand description

Helper function to get platform-specific code for a button

Uses the standard mapping by default