MCPcopy Create free account
hub / github.com/WiVRn/WiVRn / key_code_to_vk

Function key_code_to_vk

client/android/hid.cpp:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239};
240
241uint8_t key_code_to_vk(int16_t key_code)
242{
243 if (key_code < 0 || key_code >= NUM_KEYCODES)
244 return 0;
245 return KEYCODE_TO_VK[key_code];
246}
247
248bool android_hid::input_handler::handle_input(scene * current_scene, AInputEvent * event)
249{

Callers 1

handle_inputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected