You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: libinput is the default method for EGT of capturing inputs from devices but how does one prevent it capturing inputs from say /dev/event0 ?
Hello,
I've recently worked to add input from a resistive touchscreen input to a SAMA5D4 Xplained board via the on chip ADC. I calibrated the screen using the tslib tool ts_calibrate & ran the ts_uinput script which creates another event device for a GUI framework to capture. I found when I used this that the touchscreen performance was unsatisfactory. It appears that EGT was still capturing input from the raw inputs of the touchscreen as well as the calibrated input from ts_uinput.
I temporarily solved the issue by removing the raw input (i.e. rm /dev/event0) which resulted in satisfactory touchscreen input.
Is there a environmental option to prevent libinput capturing an event device? I've taken a look through the documents but can't see any.
Regards,
Owen
The text was updated successfully, but these errors were encountered:
OOHehir
changed the title
How to prevent libinput from capturing input device?
How to prevent libinput from capturing an input device?
Feb 10, 2022
Hi,
No there is no way to disable libinput from environment variable. This is the default input for EGT, so if an input device is handled by the libinput, it will be used.
If you want to avoid this situation, you can build EGT without the libinput support or you have to tune Application::setup_inputs() in src/app.cpp. Move m_inputs.push_back(std::make_uniquedetail::InputLibInput(*this)); somewhere else depending on the behavior you expect.
Summary: libinput is the default method for EGT of capturing inputs from devices but how does one prevent it capturing inputs from say /dev/event0 ?
Hello,
I've recently worked to add input from a resistive touchscreen input to a SAMA5D4 Xplained board via the on chip ADC. I calibrated the screen using the tslib tool ts_calibrate & ran the ts_uinput script which creates another event device for a GUI framework to capture. I found when I used this that the touchscreen performance was unsatisfactory. It appears that EGT was still capturing input from the raw inputs of the touchscreen as well as the calibrated input from ts_uinput.
I temporarily solved the issue by removing the raw input (i.e. rm /dev/event0) which resulted in satisfactory touchscreen input.
Is there a environmental option to prevent libinput capturing an event device? I've taken a look through the documents but can't see any.
Regards,
Owen
The text was updated successfully, but these errors were encountered: