move device configuration to config.h

This commit is contained in:
Tony Crisci 2017-09-05 17:18:37 -04:00
parent 0cdd7fac02
commit 500bcc49c4
3 changed files with 81 additions and 67 deletions

View file

@ -5,6 +5,8 @@
#endif
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_cursor.h>
#include "shared.h"
struct output_config {
char *name;
@ -49,4 +51,10 @@ struct output_config *example_config_get_output(struct example_config *config,
struct device_config *example_config_get_device(struct example_config *config,
struct wlr_input_device *device);
/**
* Configure cursor device mappings.
*/
void example_config_configure_cursor(struct example_config *config,
struct wlr_cursor *cursor, struct compositor_state *state);
#endif