2026-07-05
00:07hdbngr has quit [Ping timeout: 480 seconds]
00:14nicolas17aites[m]: afaik macOS public APIs let you make an NSButton accept up to 5 pressure levels
00:14hdbngr has joined #asahi-re
00:21mischa85 has quit [Quit: Lost terminal]
00:23hdbngr has quit [Ping timeout: 480 seconds]
00:31hdbngr has joined #asahi-re
00:39hdbngr has quit [Ping timeout: 480 seconds]
00:48hdbngr has joined #asahi-re
00:57hdbngr has quit [Ping timeout: 480 seconds]
01:04JamesCalligeros[m]Yeah libinput can read the raw pressure
01:05hdbngr has joined #asahi-re
01:07nicolas17then there is https://developer.apple.com/documentation/appkit/nshapticfeedbackperformer to trigger haptic feedback from an app
01:11nicolas17it'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
01:12aites[m]I believe that checking from userspace is the idiomatic/desired method of doing this for the maintainer/ecosystem
01:16nicolas17I mean idk who triggers the haptics *in macOS* when you use https://developer.apple.com/documentation/appkit/nsbutton/buttontype/multilevelaccelerator
01:16hdbngr has quit [Ping timeout: 480 seconds]
01:17nicolas17maybe 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
01:24hdbngr has joined #asahi-re
01:33hdbngr has quit [Ping timeout: 480 seconds]
01:39pthariensflame has joined #asahi-re
01:41hdbngr has joined #asahi-re
01:44pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
01:44pthariensflame has joined #asahi-re
01:45integralpilot has joined #asahi-re
01:45pthariensflame has quit []
01:47pthariensflame has joined #asahi-re
01:47integralpilot has quit []
01:48pthariensflame has quit []
01:49hdbngr has quit [Ping timeout: 480 seconds]
01:57hdbngr has joined #asahi-re
01:57pthariensflame has joined #asahi-re
01:58pthariensflame has quit []
01:58pthariensflame has joined #asahi-re
01:59pthariensflame has quit [Remote host closed the connection]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-re
02:00pthariensflame has joined #asahi-re
02:00pthariensflame has quit [Remote host closed the connection]
02:05hdbngr has quit [Ping timeout: 480 seconds]
02:13hdbngr has joined #asahi-re
02:21hdbngr has quit [Ping timeout: 480 seconds]
02:28hdbngr has joined #asahi-re
02:37hdbngr has quit [Ping timeout: 480 seconds]
02:44hdbngr has joined #asahi-re
02:53hdbngr has quit [Ping timeout: 480 seconds]
03:00hdbngr has joined #asahi-re
03:00pthariensflame has joined #asahi-re
03:03pthariensflame has quit [Remote host closed the connection]
03:03pthariensflame has joined #asahi-re
03:04pthariensflame has quit [Remote host closed the connection]
03:06pthariensflame has joined #asahi-re
03:08hdbngr has quit [Ping timeout: 480 seconds]
03:15pthariensflame has quit [Remote host closed the connection]
03:16hdbngr has joined #asahi-re
03:18pthariensflame has joined #asahi-re
03:21pthariensflame has quit [Remote host closed the connection]
03:22pthariensflame has joined #asahi-re
03:24pthariensflame has quit [Remote host closed the connection]
03:24pthariensflame has joined #asahi-re
03:25hdbngr has quit [Ping timeout: 480 seconds]
03:25pthariensflame has quit [Remote host closed the connection]
03:29pthariensflame has joined #asahi-re
03:29pthariensflame has quit [Remote host closed the connection]
03:29pthariensflame has joined #asahi-re
03:29pthariensflame has quit [Remote host closed the connection]
03:30pthariensflame has joined #asahi-re
03:31pthariensflame has quit [Remote host closed the connection]
03:33hdbngr has joined #asahi-re
03:42Stary has quit [Quit: ZNC - http://znc.in]
03:42hdbngr has quit [Ping timeout: 480 seconds]
03:46hdbngr has joined #asahi-re
03:49Stary has joined #asahi-re
03:54hdbngr has quit [Ping timeout: 480 seconds]
03:57ralim8 has quit [Quit: The Lounge - https://thelounge.chat]
03:58ralim8 has joined #asahi-re
03:59ralim8 has quit []
04:04hdbngr has joined #asahi-re
04:12hdbngr has quit [Ping timeout: 480 seconds]
04:17ralim8 has joined #asahi-re
04:21hdbngr has joined #asahi-re
04:30hdbngr has quit [Ping timeout: 480 seconds]
04:38hdbngr has joined #asahi-re
04:47hdbngr has quit [Ping timeout: 480 seconds]
04:54hdbngr has joined #asahi-re
05:07hdbngr has quit [Ping timeout: 480 seconds]
05:14hdbngr has joined #asahi-re
05:23hdbngr has quit [Ping timeout: 480 seconds]
05:26mattia013 has joined #asahi-re
05:30hdbngr has joined #asahi-re
05:39hdbngr has quit [Ping timeout: 480 seconds]
05:46hdbngr has joined #asahi-re
06:00hdbngr has quit [Ping timeout: 480 seconds]
06:06sofusaites[m]: my guess is most bytes control something about the feel. So the longer events are just more complex types
06:07sofusalso 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
06:08hdbngr has joined #asahi-re
06:10JamesCalligeros[m]Isnt it just the taptic engine from the idevices? It should be able to do some crazy stuff
06:10JamesCalligeros[m]Not that we can use most of it :p
06:12JamesCalligeros[m]The iphones have the same haptic feedback stuff as the touchpads. It originated on them
06:13JamesCalligeros[m]My impression was that it’s the same custom linear actuator thing in the macbook touchpads, the iphones and the magic trackpad 2
06:16sofusi remember finding a repo with someone who did the magic trackpad (2?) and it being basicly the same as the trackpad so yeah
06:17hdbngr has quit [Ping timeout: 480 seconds]
06:23hdbngr has joined #asahi-re
06:27sofusi 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
06:31hdbngr has quit [Ping timeout: 480 seconds]
06:39hdbngr has joined #asahi-re
06:53hdbngr has quit [Ping timeout: 480 seconds]
07:01hdbngr has joined #asahi-re
07:06nela has quit [Ping timeout: 480 seconds]
07:10hdbngr has quit [Ping timeout: 480 seconds]
07:12jtingiris has quit [Quit: ZNC 1.10.1 - https://znc.in]
07:12jtingiris has joined #asahi-re
07:15nela has joined #asahi-re
07:18hdbngr has joined #asahi-re
07:27hdbngr has quit [Ping timeout: 480 seconds]
07:32hdbngr has joined #asahi-re
07:36nela has quit [Ping timeout: 480 seconds]
07:36enova has joined #asahi-re
07:40hdbngr has quit [Ping timeout: 480 seconds]
07:41nela has joined #asahi-re
07:47enova has quit [Remote host closed the connection]
07:50hdbngr has joined #asahi-re
08:11pb17 has quit [Remote host closed the connection]
08:16hdbngr has quit [Ping timeout: 480 seconds]
08:16hdbngr has joined #asahi-re
08:18pb17 has joined #asahi-re
08:25hdbngr has quit [Ping timeout: 480 seconds]
08:33hdbngr has joined #asahi-re
08:41hdbngr has quit [Ping timeout: 480 seconds]
08:50hdbngr has joined #asahi-re
08:58hdbngr has quit [Ping timeout: 480 seconds]
09:00chaos_princess has quit [Quit: chaos_princess]
09:01chaos_princess has joined #asahi-re
09:06hdbngr has joined #asahi-re
09:10thunfisch has quit [Quit: frrrp!]
09:14hdbngr has quit [Ping timeout: 480 seconds]
09:21hdbngr has joined #asahi-re
09:27luma has joined #asahi-re
09:29hdbngr has quit [Ping timeout: 480 seconds]
09:30hdbngr has joined #asahi-re
09:36luma has quit [Remote host closed the connection]
09:37luma has joined #asahi-re
09:39hdbngr has quit [Ping timeout: 480 seconds]
09:42hdbngr has joined #asahi-re
09:52hdbngr has quit [Ping timeout: 480 seconds]
10:00hdbngr has joined #asahi-re
10:18hdbngr has quit [Ping timeout: 480 seconds]
10:26jamie__ has joined #asahi-re
10:28hdbngr has joined #asahi-re
10:33jamie_ has quit [Ping timeout: 480 seconds]
10:36hdbngr has quit [Ping timeout: 480 seconds]
10:39ArcaneNibble has quit [Quit: ZNC 1.10.2 - https://znc.in]
10:39ArcaneNibble has joined #asahi-re
10:44hdbngr has joined #asahi-re
11:04hdbngr has quit [Remote host closed the connection]
11:04hdbngr has joined #asahi-re
11:16hdbngr has quit [Ping timeout: 480 seconds]
11:17hdbngr has joined #asahi-re
11:18yurix has quit [Remote host closed the connection]
11:30hdbngr has quit [Ping timeout: 480 seconds]
11:35hdbngr has joined #asahi-re
11:48hdbngr has quit [Ping timeout: 480 seconds]
11:51hdbngr has joined #asahi-re
11:53aites[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
11:54chadmedplease refrain from editing messages on the matrix side. this is primarily an IRC room, and editing just spams extra messages
11:59aites[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)
12:01aites[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
12:02aites[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
12:03aites[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
12:03aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04. Could different hardware have different protocols?
12:03aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04. Could different hardware have different packet lengths?
12:05hdbngr has quit [Remote host closed the connection]
12:05hdbngr has joined #asahi-re
12:08sofusiirc 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
12:14hdbngr has quit [Ping timeout: 480 seconds]
12:19hdbngr has joined #asahi-re
12:27hdbngr has quit [Ping timeout: 480 seconds]
12:35hdbngr has joined #asahi-re
12:44hdbngr has quit [Ping timeout: 480 seconds]
12:53hdbngr has joined #asahi-re
13:01yurix has joined #asahi-re
13:02hdbngr has quit [Ping timeout: 480 seconds]
13:07yurix has quit [Remote host closed the connection]
13:08yurix has joined #asahi-re
13:10hdbngr has joined #asahi-re
13:18hdbngr has quit [Ping timeout: 480 seconds]
13:21crabbedhaloablut has quit []
13:24crabbedhaloablut has joined #asahi-re
13:26hdbngr has joined #asahi-re
13:35hdbngr has quit [Ping timeout: 480 seconds]
13:43hdbngr has joined #asahi-re
13:51hdbngr has quit [Ping timeout: 480 seconds]
14:00hdbngr has joined #asahi-re
14:09hdbngr has quit [Ping timeout: 480 seconds]
14:18hdbngr has joined #asahi-re
14:26hdbngr has quit [Ping timeout: 480 seconds]
14:34hdbngr has joined #asahi-re
14:44hdbngr has quit [Ping timeout: 480 seconds]
14:53hdbngr has joined #asahi-re
15:02hdbngr has quit [Ping timeout: 480 seconds]
15:09hdbngr has joined #asahi-re
15:18hdbngr has quit [Ping timeout: 480 seconds]
15:25hdbngr has joined #asahi-re
15:40hdbngr has quit [Ping timeout: 480 seconds]
15:50hdbngr has joined #asahi-re
15:59hdbngr has quit [Ping timeout: 480 seconds]
16:02hdbngr has joined #asahi-re
16:14hdbngr has quit [Ping timeout: 480 seconds]
16:20hdbngr has joined #asahi-re
16:29hdbngr has quit [Ping timeout: 480 seconds]
16:38hdbngr has joined #asahi-re
16:44Guest12554 has quit [Quit: Bridge terminating on SIGTERM]
16:44rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:47hdbngr has quit [Ping timeout: 480 seconds]
16:49rhysmdnz has joined #asahi-re
16:50Jamie has joined #asahi-re
16:51Jamie is now known as Guest12678
16:54hdbngr has joined #asahi-re
17:03hdbngr has quit [Ping timeout: 480 seconds]
17:03hdbngr has joined #asahi-re
18:04ddxtanx has joined #asahi-re
18:17user890104_ has joined #asahi-re
18:24user890104 has quit [Ping timeout: 480 seconds]
18:25user890104_ is now known as user890104
18:26user890104 has quit []
18:26user890104 has joined #asahi-re
18:33user890104_ has joined #asahi-re
18:40user890104 has quit [Ping timeout: 480 seconds]
19:06user890104_ has quit []
19:06user890104 has joined #asahi-re
20:16pb17 has quit [Remote host closed the connection]
20:16pb17 has joined #asahi-re
20:48mattia013 has quit [Quit: mattia013]
23:28enverbalalic has joined #asahi-re
23:40balrog_ has joined #asahi-re
23:42balrog has quit [Ping timeout: 480 seconds]
23:48kubed has joined #asahi-re
23:49jtingiris has quit [Remote host closed the connection]
23:49kubed is now known as jtingiris