mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
config: add tablet area configuration
This commit is contained in:
parent
dd91cd89ae
commit
f0abd9304f
5 changed files with 32 additions and 2 deletions
|
|
@ -89,6 +89,7 @@ struct rcxml {
|
|||
|
||||
/* graphics tablet */
|
||||
struct tablet_config {
|
||||
struct wlr_fbox box;
|
||||
enum rotation rotation;
|
||||
uint16_t button_map_count;
|
||||
struct button_map_entry button_map[BUTTON_MAP_MAX];
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ struct button_map_entry {
|
|||
uint32_t to;
|
||||
};
|
||||
|
||||
double tablet_get_dbl_if_positive(const char *content, const char *name);
|
||||
enum rotation tablet_parse_rotation(int value);
|
||||
uint32_t tablet_button_from_str(const char *button);
|
||||
uint32_t mouse_button_from_str(const char *button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue