Abstract binding configuration to bindings.[ch]

Create files bindings.[ch] to contain functions for configuring,
finding, and running bindings.

Use the new function `configure_binding` for binding configuration. This
function adds a binding from config parameters.

Export the function `modifiers_from_str` from config_directives.h.

This change is made in preparation for the new bindmouse functionality.
This commit is contained in:
Tony Crisci
2014-01-27 22:45:01 -05:00
committed by Michael Stapelberg
parent da0acb2080
commit d24d8baeb5
5 changed files with 115 additions and 43 deletions

View File

@ -79,6 +79,7 @@
#include "scratchpad.h"
#include "commands.h"
#include "commands_parser.h"
#include "bindings.h"
#include "config_directives.h"
#include "config_parser.h"
#include "fake_outputs.h"