22 #ifndef KEYMAPPER_DEFAULTS_H 23 #define KEYMAPPER_DEFAULTS_H 25 #include "common/scummsys.h" 26 #include "common/hashmap.h" 27 #include "common/str.h" 28 #include "common/hash-str.h" 53 if (hwInputId.empty()) {
63 if (found == itv.
end()) {
78 return find(keymapId +
"_" + actionId);
84 #endif // #ifndef KEYMAPPER_DEFAULTS_H
iterator end()
Definition: array.h:379
iterator begin()
Definition: array.h:374
In find(In first, In last, const T &v)
Definition: algorithm.h:225
void push_back(const T &element)
Definition: array.h:180
Definition: algorithm.h:29
Array< String > StringArray
Definition: str-array.h:43
Definition: keymapper-defaults.h:32
void setDefaultBinding(String keymapId, String actionId, String hwInputId)
Definition: keymapper-defaults.h:40
void addDefaultBinding(String keymapId, String actionId, String hwInputId)
Definition: keymapper-defaults.h:50
const_iterator findDefaultBinding(String keymapId, String actionId) const
Definition: keymapper-defaults.h:77