mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
config: add tablet button mapping configuration
Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
parent
f0b72e3af7
commit
567b81ea10
6 changed files with 128 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include "common/border.h"
|
||||
#include "common/buf.h"
|
||||
#include "common/font.h"
|
||||
#include "config/tablet.h"
|
||||
#include "config/libinput.h"
|
||||
#include "resize_indicator.h"
|
||||
#include "theme.h"
|
||||
|
|
@ -80,6 +81,12 @@ struct rcxml {
|
|||
struct wl_list mousebinds; /* struct mousebind.link */
|
||||
double scroll_factor;
|
||||
|
||||
/* graphics tablet */
|
||||
struct tablet_config {
|
||||
uint16_t button_map_count;
|
||||
struct button_map_entry button_map[BUTTON_MAP_MAX];
|
||||
} tablet;
|
||||
|
||||
/* libinput */
|
||||
struct wl_list libinput_categories;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue