mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
move device configuration to config.h
This commit is contained in:
parent
0cdd7fac02
commit
500bcc49c4
3 changed files with 81 additions and 67 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue