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

Method input_description_mod

src/program/KeyMappingXcb.cpp:144–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144std::string KeyMappingXcb::input_description_mod(keysym_t ks)
145{
146 std::string str = "";
147
148 for (ModifierKey modifier : modifier_list) {
149 if (ks & modifier.flag) {
150 str += modifier.description;
151 str += "+";
152 ks ^= modifier.flag;
153 }
154 }
155
156 str += input_description(ks);
157 return str;
158}
159
160void KeyMappingXcb::base_keysyms()
161{

Callers 1

updateHotkeyRowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected