[][src]Function wooting_analog_sdk_sys::wooting_read_analog

pub unsafe extern "C" fn wooting_read_analog(row: u8, column: u8) -> u8

@brief Get the analog value of a single key.

This function returns an analog value of a single key. The arguments are a row and column index of the keyboard array. The keyboard matrix with row columns indexing can be found in the resources folder.

It is not necessary to initialize the keyboard before reading. If the keyboard is not connected this function will return 0. Indexes out of bound will also return 0.

@ingroup API @param row Row index of the key that will be read @param column Column index of the key that will be read

@returns This function returns the analog value of the key from 0 - 255