encode_i16

Function encode_i16 

Source
pub fn encode_i16(value: i16) -> [u8; 2]
Expand description

Encode an i16 value for keycode (flip sign bit, then NOT)