Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

got bored and reverse engineered the HID APIs for Apple's unreleased touchscreen MacBooks made an iPhone duo remote client so I can mess with native touch support on macOS lol

40,469 Aufrufe • vor 5 Tagen •via X (Twitter)

66 Kommentare

Profilbild von kesku
keskuvor 5 Tagen

this is fun

Profilbild von kesku
keskuvor 4 Tagen

code:

Profilbild von Claudio
Claudiovor 5 Tagen

duo as a touchscreen mac remote is peak hack

Profilbild von kesku
keskuvor 5 Tagen

I'm planning to make a full client so I can control my mac mini from duo when I need a screen (usually codex just does his thing there)

Profilbild von 世界
世界vor 5 Tagen

@ClaudioSonnet I made this 😆

Profilbild von kesku
keskuvor 4 Tagen

@ClaudioSonnet oh I like this, like half of it it handled by screen sharing service?

Profilbild von shiva
shivavor 5 Tagen

"Got bored and reverse engineered unreleased hardware APIs" is the most dev sentence ever. Curious how macOS treats hover vs touch once it's native. Does a tap just become a click, or something new?

Profilbild von kesku
keskuvor 4 Tagen

mostly, but it can vary, apple has a good video on their proposed rules

Profilbild von Dr. Kitze ❤️ healthmaxx.app
Dr. Kitze ❤️ healthmaxx.appvor 5 Tagen

you mean claude

Profilbild von kesku
keskuvor 5 Tagen

codex did the typing, unfortunately it couldn't reverse engineer undocumented HID behaviour without me figuring out what to make it do lol

Profilbild von Dr. Kitze ❤️ healthmaxx.app
Dr. Kitze ❤️ healthmaxx.appvor 5 Tagen

i’m trolling lol it’s my favorite bait

Profilbild von kesku
keskuvor 5 Tagen

oh lmao fell for the bait

Profilbild von Lion Stark
Lion Starkvor 5 Tagen

we need this in yosei

Profilbild von marcthetechguy
marcthetechguyvor 4 Tagen

holy mog

Profilbild von Carlos Aguilar
Carlos Aguilarvor 5 Tagen

That's a cool and fun project. I am wondering if workbench from @Astropad could be used the same way

Profilbild von kesku
keskuvor 4 Tagen

@Astropad idk if Apple would let them but if so fuck yeah lol I'm running with SIP disabled and amfi_get_out_of_my_way=0x1 on the 27.3 beta to get around the restricted virtual HID entitlement I'm open sourcing my implementation later but I'm sure they could figure it out themselves

Profilbild von Matt Ronge
Matt Rongevor 4 Tagen

@caguilar51 @Astropad We'd love to add it. Do you think it's possible to do without disabling SIP?

Profilbild von kesku
keskuvor 4 Tagen

@caguilar51 @Astropad My build was self-signed, hence the SIP workaround :p (new apple account, waiting on getting the license) This also would work with SIP on using Apple Development signing + a provisioned virtual HID entitlement

Profilbild von Matt Ronge
Matt Rongevor 4 Tagen

@caguilar51 @Astropad I'd love to check out the open source too when you've got a chance!

Profilbild von kesku
keskuvor 3 Tagen

@caguilar51 @Astropad btw do you guys do lifetime subs or just yearly?

Profilbild von Matt Ronge
Matt Rongevor 3 Tagen

@caguilar51 @Astropad Awesome! Just yearly because we have ongoing bandwidth costs for relay servers that are a fallback when direct connection can’t be made

Profilbild von kesku
keskuvor 3 Tagen

@caguilar51 @Astropad makes sense! considered a one time license for direct connections? I'd happily pay more upfront it's better than anything I've built lol I use my own tailnet so if astropad ever shuts down I'd hate to lose access to great software that doesn't need your servers

Profilbild von ₽ⱤΞΞ₮Ⱨ△M ₭Ɏ△И△M
₽ⱤΞΞ₮Ⱨ△M ₭Ɏ△И△Mvor 5 Tagen

My boy is boutta put Ethan Lipnik at Cognition out of business slowly

Profilbild von GerG0Gadget
GerG0Gadgetvor 5 Tagen

MacOS on iPhone before iPad?

Profilbild von ‏ٰ
‏ٰvor 5 Tagen

i just realised the reason why they made toucscreen macbook is for this bs that doesn't even work in europe yet

Profilbild von kesku
keskuvor 5 Tagen

Wdym? I'm in London rn and anyone can install 27.3

Profilbild von ‏ٰ
‏ٰvor 5 Tagen

oh it released for europe in .3 im careful with updating as there might be jailbreak soon

Profilbild von Anshu
Anshuvor 5 Tagen

super cool

Profilbild von Rice🍚Nousagi #207
Rice🍚Nousagi #207vor 5 Tagen

Out appleing apple

Profilbild von agrim singh
agrim singhvor 5 Tagen

now THIS is a use for the duo

Profilbild von Cal M
Cal Mvor 5 Tagen

so good!

Profilbild von Priyav K Kaneria 🪔
Priyav K Kaneria 🪔vor 5 Tagen

remote macbook client v0.1

Profilbild von mu
muvor 4 Tagen

MacBook Pro mini

Profilbild von kesku
keskuvor 4 Tagen

did that too

Profilbild von meditext
meditextvor 5 Tagen

Please open source it, it'd be good to have access to the touch screen HID interface

Profilbild von No Name Tokens
No Name Tokensvor 5 Tagen

Throw this on the app store, will pay for it so I can use it on my iPad

Profilbild von kesku
keskuvor 4 Tagen

Apple wouldn't let me this breaks some rules, but you can sign and build yourself I'm ossing later

Profilbild von jesus~
jesus~vor 5 Tagen

Ran out of tokens to try this, could you open source it?

Profilbild von kesku
keskuvor 5 Tagen

I plan to! Just need to tidy some other stuff I threw in which makes the app bad

Profilbild von 0x20
0x20vor 4 Tagen

You need tiny fingers though looks like

Profilbild von kesku
keskuvor 4 Tagen

or change display scale and everything sorts itself out (screenshot from Duo)

Profilbild von Jannes 
Jannes vor 4 Tagen

That’s not a want but a NEED on the duo

Profilbild von Tomas Kapler #AI 🤖✨
Tomas Kapler #AI 🤖✨vor 4 Tagen

can you connect it to an external display with keyboard and mouse to get a full mac experience?

Profilbild von kesku
keskuvor 4 Tagen

No but that wouldn't be hard to build, code is oss

Profilbild von teej
teejvor 5 Tagen

i bet this slaps on a bigger ipad though

Profilbild von kesku
keskuvor 5 Tagen

Yeah I might make my duo app a better sidecar app at some point, but I don't carry iPads with me

Profilbild von Jindra Tilkovský
Jindra Tilkovskývor 4 Tagen

so cool

Profilbild von Alireza Bashiri
Alireza Bashirivor 5 Tagen

vnc?

Profilbild von kesku
keskuvor 5 Tagen

nah, custom streaming over TLS screencapturekit + videotoolbox for H.264, corehid for native multitouch input

Profilbild von RealTia
RealTiavor 4 Tagen

pls add this to sunshine or something

Profilbild von wiiiimm
wiiiimmvor 5 Tagen

and it will work on iPad Pro 13”?

Profilbild von kesku
keskuvor 4 Tagen

would need to change a few things but that should be easy

Profilbild von wiiiimm
wiiiimmvor 4 Tagen

i think iPhone Duo is a cool surface to get the likes on sn rn, but for real production work with your concept, iPad Pros with their large screen estates is where your demo shines.

Profilbild von kesku
keskuvor 4 Tagen

this is a fun project not super serious haha, feel free to mess around with it. should work on ipad now

Profilbild von wiiiimm
wiiiimmvor 3 Tagen

just saw the github link!

Profilbild von xiaoguoguo
xiaoguoguovor 4 Tagen

双人远程触控听着很好玩,但延迟怎么样?两个人同时操作会不会互相打架,真能当日常工具用吗?

Profilbild von QNE
QNEvor 4 Tagen

great work! waiting for you to opensource so bad

Profilbild von kesku
keskuvor 4 Tagen

lol bet

Profilbild von EdDiboi
EdDiboivor 5 Tagen

seeing stuff like this makes me want to get a duo

Profilbild von kesku
keskuvor 5 Tagen

you would have a better time with an iphone air and an ipad mini I have to build my own software because everyone else isn't optimizing theirs

Profilbild von EdDiboi
EdDiboivor 5 Tagen

nah I like messing around and tinkering with things, I probably won't use it as my primary device though

Profilbild von Sei K. ⏮️
Sei K. ⏮️vor 5 Tagen

How does the HID work?

Profilbild von kesku
keskuvor 4 Tagen

it's pretty simple, the iphone sends touch coordinates to the mac which uses CoreHID to emulate a touchscreen I associate the virtual touchscreen with the display by passing its UUID and setting kIOHIDDisplayIntegratedKey before activation

Profilbild von Sei K. ⏮️
Sei K. ⏮️vor 4 Tagen

Wonder if the trackpads work in a similar way

Profilbild von kesku
keskuvor 4 Tagen

sends touch contacts through a virtual magic trackpad not sure what you had in mind though?

Profilbild von steffan clarke
steffan clarkevor 4 Stunden

that's seriously impressive work—pushing boundaries with creativity!

Ähnliche Videos