Skip to content

Commit

Permalink
KEYMAPPER: Add Common::KeyActionEntry for making simple keymap tables
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoliman committed Dec 13, 2011
1 parent 22d3118 commit feb04d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backends/keymapper/action.h
Expand Up @@ -40,6 +40,12 @@ class Keymap;

#define ACTION_ID_SIZE (4)

struct KeyActionEntry {
const KeyState ks;
const char *id;
const char *description;
};

struct Action {
/** unique id used for saving/loading to config */
char id[ACTION_ID_SIZE];
Expand Down

0 comments on commit feb04d2

Please sign in to comment.