-
Notifications
You must be signed in to change notification settings - Fork 48
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
Announcements and updates for downstreams #120
Comments
Changes that will be coming in iptsd v1.2 Dependencies:
Building
Code structure
That last points might seem a bit redundant but by clearly splitting application logic (turning a heatmap into coordinates) and platform logic (reading HID device data) it becomes massively easier to add new tools that share the same fundamental behaviour. Extreme examples could be ports for a different OS (macOS, BSD), or a version of the daemon that behaves slightly different, for linux-like operating systems (e.g. Android), while keeping the majority of the code as-is. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi, thanks for this ticket and the announcement of the new changes so that I can catch up. Additionally, these are forks of dependencies that is needed to compile iptsd : |
You might want to set fmtlib requirement to 9.0 and above. Sources like AOSP still ship fmtlib 7.x like for example the master branch is still 7.1.3 |
Is there anything that doesnt work with fmtlib 7? We only do some basic EDIT: Tried to build with fmt 7.1.3 and I see what fails now. I will look into what causes it and if I cant fix it, note the required version. |
Alright, that was quicker than I thought. spdlog is full of preprocessor statements for older FMT versions but they dont seems to actually support these, and the latest version requires fmt 8 or newer. However, iptsd successfully builds with spdlog 1.8.5, which is the last version supporting fmt 7. Maybe that is useful for you. |
well I just clone fmt 9, I'll go back in case it has issues |
Changes that will be coming in iptsd v1.3: Dependencies:
Code structure:
|
I was planning to edit Android.mk to automatically generate hidrd makefiles, luckily I don't have to now 😅 |
FYI, the next release (whenever that is) will drop semantic versioning and be iptsd v2 no matter what changes it contains. Right now the version number is pretty meaningless because I don't maintain multiple branches of iptsd. And while I try to make a distinction between "this is a bugfix release" and "this is a feature release", that isn't always easy or possible. |
@hmtheboy154 I don't think you are in our development channel on matrix so I'm just gonna ask this here: I need to rewrite the helper scripts (e.g. iptsd-find-hidraw) and would like to make them python. Would that cause issues for you on Android? My phone doesn't seem to have python but I don't know if AOSP might allow you to build it. |
Sorry that I haven't noticed Matrix lately as I don't online over there much. However yes it would cause issue as you know there is no Python program got built on Android (unless you install Termux but then that's different). Could you explain why there need to have a move to Python ? As the current shell script seems to work fine |
We need to be able to work with multiple devices to support the touchpad on the Surface Laptop Studio 2. The current bash scripts are entirely unsuited for that, because they only return a single device. So they need to be rewritten and if possible, future proofed. The reason I would like to use python is that I really don't like bash. It is fine for stupidly chaining commands together, but as soon as you introduce any logic it falls apart. Python is more verbose, but at least an int is an int there and not a string. |
Heyy, @hmtheboy154 mentioned this issue here, and I am interesting in the script conversion. I am experienced with writing both bash and python based scripts, and would like to help out in that. |
@StollD I have some reports that the latest version of iptsd somehow require user to create an .idc file and define the input as touchscreen or else the screen will act as a single touch touchpad. Based on your |
I dont know what could have caused this, sorry. Singletouch inputs might indicate that iptsd isn't even running, since it would disable the singletouch device. Or something in Android has changed and the virtual device that iptsd creates is no longer recognized automatically. (Also, please open a dedicated issue next time and keep this one for explicitly reaching out to (other) downstreams) |
I just found out why, I created a new issue here: #184 |
This ticket is meant to provide updates for upcoming changes to how iptsd has to be built.
If you are packaging iptsd, or maintaining a fork of it, feel free to subscribe to this issue to get notified about changes that will impact you in the next update. If you want to, you are also free to leave a note about your work here!
If you have issues with building or using iptsd, please open a new issue. This issue should be strictly for announcements, and advertising your downstream work.
The text was updated successfully, but these errors were encountered: