nixos-facter-modules
nixos-facter-modules copied to clipboard
[Feature Request] Support setup Touch Pad
trafficstars
Is your feature request related to a problem? Please describe.
Maybe not
Describe the solution you'd like
I would like to request support for the automatic recognition of Touch Pad devices and to enable the related options.
My facter.json reported the Touch Pad device.
{
...
"pointing_device": [
{
"handle": 44,
"mouse_type": {
"name": "Track Point",
"value": 5
},
"interface": {
"name": "PS/2",
"value": 4
},
"buttons": 3
},
{
"handle": 45,
"mouse_type": {
"name": "Touch Pad",
"value": 7
},
"interface": {
"name": "Other",
"value": 1
},
"buttons": 2
}
],
...
}
I tried to write a new module to enable services.libinput through mouse_type, but I couldn't find any mouse devices in config.facter.report.hardware.
Then I didn't know how to continue.
Describe alternatives you've considered
None
Additional context
None
We have an open issue on nixos-facter related to correctly capturing touchpad information.
I should have some time before NixCon to look at this.