SnowNF
fb921ab431
Optimize the code based on the suggestions
2024-03-20 22:52:19 +00:00
SnowNF
bd4d92bad8
libinput: add support for touchscreen set matrix
...
My android pad emit a strange touch input from libinput, need to rotate it in 270 degree clockwise to fix.
2024-03-20 22:52:19 +00:00
Sachin Bhat
6fb06c54c2
config: support libinput sendEventsMode
...
This allows to enable / disable libinput devices.
Co-Authored-By: @Consolatis
2024-02-24 21:36:53 +01:00
Marvin Dostal
8be9c38460
Add click method libinput option ( #1416 )
...
<libinput>
<device>
<clickMethod>none|buttonAreas|clickfinger</clickMethod>
</device>
</libinput>
2024-02-21 17:19:48 +00:00
Johan Malm
c066821046
string-helpers.c: add string_empty()
2024-01-19 20:00:37 +00:00
Johan Malm
af5d80a583
config: s/enum device_type/enum lab_libinput_device_type/
2024-01-01 22:04:21 +00:00
Johan Malm
673c745cff
config: prefix enums with LAB_LIBINPUT_DEVICE_
2024-01-01 22:04:21 +00:00
Johan Malm
94cec51d9f
config: use wl_list_append() for libinput categories
...
...to make it more intuitive.
Also, do not check for existance of name when type==DEFAULT because name
will only exist when type==NONE.
2024-01-01 22:04:21 +00:00
Johan Malm
5337eda242
config: remove duplication in libinput-category parsing
...
Related-to: #1382
2024-01-01 22:04:21 +00:00
Jared Baur
6faee17d20
Add touchpad device type
...
It is nice to have finer granularity for device types to allow for
configurations such as using `naturalScroll` on touchpads, but not on
regular pointer devices such as mice.
2023-12-29 08:08:32 +00:00
tokyo4j
3c3656f74e
config: support <tapAndDrag> and <dragLock>
2023-09-07 22:55:50 +01:00
John Lindgren
41a4176b17
rcxml: Make sure a default libinput category always exists
...
Previously, if rc.xml defined only non-default libinput categories,
no default category was created. This meant that configure_libinput()
might totally skip configuring some devices even with default
settings, like tap-to-click.
Fix this by making sure that a default category is always created.
2022-12-22 22:18:27 +00:00
John Lindgren
a54d378e6c
common: Add znew/znew_n() macros
2022-09-18 15:25:19 -04:00
John Lindgren
cb40cdc36c
common: Add additional memory utilities (xzalloc() etc.)
2022-09-17 10:57:30 -04:00
bi4k8
a3796fa6f3
implement libinput tapButtonMap setting
...
this is a standard libinput setting that was not previously exposed
2021-12-12 19:00:58 -05:00
Johan Malm
606b6d946e
Fix coding style, mostly whitespace
2021-10-15 20:52:36 +01:00
ARDiDo
416499624e
Complete libinput configuration
2021-10-15 19:11:35 +01:00