diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-09-07 03:31:35 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-09-07 03:31:35 +0200 |
| commit | af9f47340093eb9e0350e6d5ce69f7a04b150a94 (patch) | |
| tree | e2324b470f8a7de20dd12bd477ea6d5630e2f9f5 /README.hu.md | |
| parent | ddca30d86b352c081e29050598f9fd1205d0ee27 (diff) | |
commands/input/map_from_region: don't treat 0x prefix as hex identifier
When using the `map_from_region` for pen tables, we will usually make
the available area as big as possible while maintaining the proportions
with the screen.
As most of the tablets uses a 16:10 ratios while the most popular screen
ratios is still 16:9, the argument for most people should be `0x0 1x0.9`
to have the maximum effective area.
However, the argument above won't work because the current code will
treat `0x...` as a hexadecimal number, instead of setting both `x` and
`y` to `0`.
This fix allows the use of the following syntax:
```
input type:tablet_tool {
map_from_region 0x0 1x0.9
}
```
Diffstat (limited to 'README.hu.md')
0 files changed, 0 insertions, 0 deletions
