From b603e29cf6809638be1de81a55723c7509562bbc Mon Sep 17 00:00:00 2001 From: "Cascade aka. Isoheptane" <38118922+Isoheptane@users.noreply.github.com> Date: Thu, 28 Sep 2023 02:49:35 +0800 Subject: [PATCH] Add variables for tablets to wiki (#355) --- pages/Configuring/Variables.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pages/Configuring/Variables.md b/pages/Configuring/Variables.md index bbf8c0f..2114b05 100644 --- a/pages/Configuring/Variables.md +++ b/pages/Configuring/Variables.md @@ -232,6 +232,17 @@ _Subcategory `input:touchdevice:`_ | transform | transform the input from touchdevices. The possible transformations are the same as [those of the monitors](../Monitors/#rotating) | int | 0 | | output | the output to bind touch devices. Empty means unset and will use the current / autodetected. | string | \[\[Empty\]\] | +## Tablet + +_Subcategory `input:tablet:`_ + +| name | description | type | default | +|---|---|---|---| +| transform | transform the input from tablets. The possible transformations are the same as [those of the monitors](../Monitors/#rotating) | int | 0 | +| output | the output to bind tablets. Empty means unset and will use the current / autodetected. | string | \[\[Empty\]\] | +| region_position | position of the mapped region in output layout. | vec2 | [0, 0] | +| region_size | size of the mapped region. When this variable is set, tablet input will be mapped to the region. [0, 0] or invalid size means unset. | vec2 | [0, 0] | + ## Per-device input config Described [here](../Keywords#per-device-input-configs).