MCPcopy Create free account
hub / github.com/clementgallet/libTAS / nativeToKeysym

Method nativeToKeysym

src/program/KeyMappingXcb.cpp:198–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198keysym_t KeyMappingXcb::nativeToKeysym(int keycode)
199{
200 /* Convert native virtual key to the keysym obtained without modifiers */
201 if (keysym_mapping.find(keycode) != keysym_mapping.end()) {
202 return keysym_mapping[keycode];
203 }
204
205 return keycode;
206}
207
208void KeyMappingXcb::default_inputs()
209{

Callers 5

keyPressEventMethod · 0.45
keyReleaseEventMethod · 0.45
keyPressEventMethod · 0.45
keyPressEventMethod · 0.45
keyReleaseEventMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected