MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / parse_modifier

Function parse_modifier

plugins/single_plugins/xkb-bindings.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30static uint32_t parse_modifier(std::string mod_name)
31{
32 auto it = mod_name_to_mod.find(to_lower(mod_name));
33 if (it != mod_name_to_mod.end())
34 {
35 return it->second;
36 }
37
38 return 0;
39}
40
41std::vector<std::string> tokenize_at(std::string str, char token)
42{

Callers 1

parse_keybinding_xkbFunction · 0.85

Calls 2

to_lowerFunction · 0.85
endMethod · 0.80

Tested by

no test coverage detected