diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-01-08 09:48:24 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-01-08 09:48:24 -0500 |
commit | e2d49afb4a9cf1c333cbb1e18360026508b79a60 (patch) | |
tree | 37391772505203dd0ac0b533e89359b0d5d6e040 /include/util.h | |
parent | 320c2915b0aeb4bbecb753bf00091e24905c5652 (diff) | |
parent | 15cbc53a771f35e5510b643193c4ba99e9f820a2 (diff) |
Merge pull request #438 from mikkeloscar/binding-event
Implement IPC binding event (keyboard)
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 4bbb64c8..dc47e343 100644 --- a/include/util.h +++ b/include/util.h @@ -29,4 +29,11 @@ uint32_t get_modifier_mask_by_name(const char *name); */ const char *get_modifier_name_by_mask(uint32_t modifier); +/** + * Get an array of modifier names from modifier_masks + * + * Populates the names array and return the number of names added. + */ +int get_modifier_names(const char **names, uint32_t modifier_masks); + #endif |