-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated documentation of "-i / --input" in Readme file #336
Comments
Oh, yeah thanks for reporting that. I'll fix it
I'm afraid it's not possible to remove the udev dependency, flutter-pi uses libinput now for touch support, and libinput has a required dependency on libudev. It might be possible to bring back support for
Thanks, appreciate it! |
Thank you for the clarification. I was asking because I am developing for a more "minimalistic" linux system which originally does not have udev, libinput or systemd and it would be nice to get flutter-pi running in that configuration too. In my case I got it running by compiling the libraries manually and adding them to the device. But I am wondering if an alternative input system would be (easily) doable (with a switch between it and the libinput based one during compile time). Thanks again. I was really surprised how easy it was to get started with flutter-pi. |
An alternative input system would definitely be doable, though libinput doesn't do anything other than handling user input, so I think adding a raw evdev backend would just be reimplementing libinput inside flutter-pi, not sure that's worth it The |
I made myself a quick and dirty implementation of a tslib based input system (and was able to get rid of libinput and udev) which was surprisingly easy. Would that be something that you would be interested in looking at (maybe a Pull Request)? Or would you prefer something else (libevdev...)? If there are multiple input methods, both would need maintainance. (no promises, I have a baby coming in the next few days so I can't say how fast I can have it in a more presentable state than just the current "working" one). About libsystemd: Yes, I have seen it only needs the library, which makes integration into my system easier. I have not read into the source code too much but I really like certain aspects of it (e.g. how easy it was to get rid of libinput/udev and change it to tslib) Also: Maybe I should open a new issue if we talk about these topics more, we have gone off-topic from my original issue quite a bit ;-) |
@Stefichen5 sorry, completely forgot about this. Yes you can definitely create a PR for tslib-based input. Other than not needing libinput/libudev, does it have any other advantages/disadvantages? I have never tested tslib so I don't really know how good it is compared to libinput. |
The readme file (https://github.com/ardera/flutter-pi/blob/master/README.md) still mentions the "-i/--input" parameter. This has been removed a while ago. This can be very misleading (I fell for it and was wondering why it did not work).
Are there any plans to bring back the parameter (and maybe even the ability to build without udev)? If not, please remove it from Readme.
Thanks a lot for the great work at this really great project!
The text was updated successfully, but these errors were encountered: