Skip to content

Commit

Permalink
ipc: add input::libinput_config event
Browse files Browse the repository at this point in the history
This adds a libinput_config change type to the input event for when
the libinput config for a device changes

In order for this to be possible to track, the libinput config code
had to be refactored. It is now extracted into a separate file to
isolate it from the rest of the input management code.
  • Loading branch information
RedSoxFan authored and emersion committed Jul 23, 2019
1 parent 6effca7 commit 1a16262
Show file tree
Hide file tree
Showing 5 changed files with 400 additions and 432 deletions.
9 changes: 9 additions & 0 deletions include/sway/input/libinput.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef _SWAY_INPUT_LIBINPUT_H
#define _SWAY_INPUT_LIBINPUT_H
#include "sway/input/input-manager.h"

void sway_input_configure_libinput_device(struct sway_input_device *device);

void sway_input_reset_libinput_device(struct sway_input_device *device);

#endif
Loading

0 comments on commit 1a16262

Please sign in to comment.