mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
input config
This commit is contained in:
parent
9ae906cd37
commit
462a451328
17 changed files with 490 additions and 26 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue