input config

This commit is contained in:
Tony Crisci 2017-12-11 04:17:14 -05:00
parent 9ae906cd37
commit 462a451328
17 changed files with 490 additions and 26 deletions

View file

@ -1,6 +1,8 @@
#ifndef _SWAY_COMMANDS_H
#define _SWAY_COMMANDS_H
#include "config.h"
/**
* Indicates the result of a command's execution.
*/
@ -39,6 +41,8 @@ enum expected_args {
EXPECTED_EQUAL_TO
};
void input_cmd_apply(struct input_config *input);
struct cmd_results *checkarg(int argc, const char *name,
enum expected_args type, int val);

View file

@ -5,6 +5,8 @@
#include "sway/config.h"
#include "list.h"
extern struct input_config *current_input_config;
struct sway_input_manager {
struct wl_listener input_add;
struct wl_listener input_remove;