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

Method is_modifier

src/program/KeyMappingXcb.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}};
101
102bool KeyMappingXcb::is_modifier(keysym_t ks)
103{
104 for (ModifierKey modifier : modifier_list) {
105 if (modifier.ks == ks)
106 return true;
107 }
108 return false;
109}
110
111keysym_t KeyMappingXcb::get_modifiers(int state)
112{

Callers 2

nextEventMethod · 0.80
keyPressEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected