#asahi-re · 2026-07-06 18:17
flokliOk, let me copy it over#asahi-re · 2026-07-06 18:15
svenprobably better in #asahi-dev, but neal has an updated version and wanted to submit that patch#asahi-re · 2026-07-06 18:13
flokliThe section starts with "we propose", but I don't see if it's only proposed in the docs, or with upstream.#asahi-re · 2026-07-06 18:12
flokliHas there been any discussion with upstream about the /lib/firmware/vendor additional path, as per https://asahilinux.org/docs/platform/open-os-interop/#linux-specific ?#asahi-re · 2026-07-05 12:10
sofusyou are using 0x53 to send the clicks right? Try using 0x23 / 0x22 #asahi-re · 2026-07-05 12:08
sofusiirc the 0x21 is the host mode command, i dont think the 0x0e is a "special" "click-release" event, but rather macos uses it like that#asahi-re · 2026-07-05 12:06
sofusi also have an m2 pro so it would be _very_ weird otherwise#asahi-re · 2026-07-05 12:05
sofusyes the same lenght#asahi-re · 2026-07-05 12:04
aites[m]Wait so are those events you sent also of length 0xe then?#asahi-re · 2026-07-05 12:03
aites[m]Ohhhhh my bad#asahi-re · 2026-07-05 12:03
aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04. Could different hardware have different packet lengths?#asahi-re · 2026-07-05 12:03
sofusaites[m]: thoose are the same lenght, sometimes i mix hex with normal digits sorry#asahi-re · 2026-07-05 12:03
aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04. Could different hardware have different protocols?#asahi-re · 2026-07-05 12:03
aites[m]* one field (For packets of same length), my, * that field that varies is also, * also force? Even though it's in a different position. For both#asahi-re · 2026-07-05 12:02
aites[m]s/difference/different/#asahi-re · 2026-07-05 12:02
aites[m]And I suppose that would mean that macos is giving you difference force feedback depending on how hard/fast you physically press down on the trackpad would be my guess#asahi-re · 2026-07-05 12:01
aites[m]<aites[m]> "sofus: I went into the m1n1..." <- I think since the "click-release" signals have minor variation in one field and that field is the force, and through all the down press events I traced they all vary by exactly one field, my guess is that maybe that field is also force? For both of the different "Down-press" events#asahi-re · 2026-07-05 12:00
aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04#asahi-re · 2026-07-05 12:00
aites[m]sofus: Interestingly the ones I've found are not the same length?#asahi-re · 2026-07-05 11:59
aites[m]And also I have found that each TX packet sent to the trackpad ALWAYS comes with an ack back to the host (which isn't that crazy I guess, but I didn't expect it haha)#asahi-re · 2026-07-05 11:57
aites[m]there's a 0x21#asahi-re · 2026-07-05 11:57
aites[m]sofus: And also there turns out to be 3 set up commands and a 4th to send events#asahi-re · 2026-07-05 11:54
aites[m]I'll have to play around and experiment a bit more with this #asahi-re · 2026-07-05 11:54
chadmedplease refrain from editing messages on the matrix side. this is primarily an IRC room, and editing just spams extra messages#asahi-re · 2026-07-05 11:53
aites[m]* minimum roundness (0xFF, 0x00) and it#asahi-re · 2026-07-05 11:53
aites[m]* minimum roundness (0xFF, 0x00 and it#asahi-re · 2026-07-05 11:53
aites[m]sofus: This also makes sense to me, yesterday when playing around I tried maximum force with minimum roundness and it was firm but nothing that would make me worry that I was causing long term damage to my trackpad#asahi-re · 2026-07-05 11:52
aites[m]sofus: This makes sense to me#asahi-re · 2026-07-05 06:27
sofusi think we _should_ actually be able to use most of it. looking at hid-haptic.h, we should be able to expose some control over the waveforms#asahi-re · 2026-07-05 06:16
sofusi remember finding a repo with someone who did the magic trackpad (2?) and it being basicly the same as the trackpad so yeah#asahi-re · 2026-07-05 06:13
JamesCalligeros[m]My impression was that it’s the same custom linear actuator thing in the macbook touchpads, the iphones and the magic trackpad 2#asahi-re · 2026-07-05 06:12
JamesCalligeros[m]The iphones have the same haptic feedback stuff as the touchpads. It originated on them#asahi-re · 2026-07-05 06:11
sofusidevices? #asahi-re · 2026-07-05 06:10
JamesCalligeros[m]Not that we can use most of it :p#asahi-re · 2026-07-05 06:10
JamesCalligeros[m]Isnt it just the taptic engine from the idevices? It should be able to do some crazy stuff#asahi-re · 2026-07-05 06:07
sofusalso i was not able to break the actuator by sending a bunch of random events to it. It can do a lot more than what apple exposes#asahi-re · 2026-07-05 06:06
sofusaites[m]: my guess is most bytes control something about the feel. So the longer events are just more complex types#asahi-re · 2026-07-05 01:17
nicolas17maybe appkit triggers haptics on pressure change, or maybe appkit tells the trackpad "there's now 3 pressure levels for haptics" when you move the cursor over that button#asahi-re · 2026-07-05 01:16
nicolas17I mean idk who triggers the haptics *in macOS* when you use https://developer.apple.com/documentation/appkit/nsbutton/buttontype/multilevelaccelerator#asahi-re · 2026-07-05 01:14
aites[m]Based off this#asahi-re · 2026-07-05 01:14
aites[m]https://lore.kernel.org/all/20250818-support-forcepads-v3-0-e4f9ab0add84@google.com/#asahi-re · 2026-07-05 01:13
nicolas17in libinput, maybe#asahi-re · 2026-07-05 01:12
aites[m]I believe that checking from userspace is the idiomatic/desired method of doing this for the maintainer/ecosystem #asahi-re · 2026-07-05 01:11
nicolas17it's possible that a multi-level button tells the trackpad that there's N levels of pressure to do haptics for, rather than repeatedly checking the pressure in userspace and triggering haptics itself#asahi-re · 2026-07-05 01:09
aites[m]Sorry accidental ping #asahi-re · 2026-07-05 01:09
aites[m]s/:sobord/😭/#asahi-re · 2026-07-05 01:09
aites[m]Ughhhh now I have to learn how to compile a swift app too now :sobord #asahi-re · 2026-07-05 01:09
aites[m]Oh that's perfect actually, I'll look into that tomorrow :3#asahi-re · 2026-07-05 01:07
nicolas17then there is https://developer.apple.com/documentation/appkit/nshapticfeedbackperformer to trigger haptic feedback from an app#asahi-re · 2026-07-05 01:04
JamesCalligeros[m]Yeah libinput can read the raw pressure