navigator_event_get_keyboard_state()

Get the keyboard state from a navigator event.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_event_get_keyboard_state(bps_event_t *event)

Arguments:

event

The NAVIGATOR_KEYBOARD_STATE event.

Library:

libbps

Description:

The navigator_event_get_keyboard_state() function extracts the keyboard state from a NAVIGATOR_KEYBOARD_STATE event. The result is one of the values of the navigator_keyboard_state_t enum.

Returns:

The state of the keyboard or BPS_FAILURE if there was an error.