well, I accidentally made a keyboard backwards.
-
Foone🏳️⚧️replied to Solarbird :flag_cascadia: last edited by
@moira that's not a bad idea.
-
I gotta figure out how to store some webapp state so I can keep track of if the shift key is down, because that's a separate HTTP request
-
@foone first keyboard to require cookies
-
@astrid thankfully my requesting system doesn't even support cookies (unless I manually track/pass them) so that's out. I'm just making it server-wide state
-
Foone🏳️⚧️replied to Foone🏳️⚧️ last edited by [email protected]
how it works:
$ curl http://localhost:5000/29
unshifted
$ curl http://localhost:5000/6
ok (types "a")
$ curl http://localhost:5000/29
shifted
$ curl http://localhost:5000/6
ok (types "A")(29 is the scancode for "shift", 6 is the scancode for the "a/A" key)
-
-
@retroswim @foone No no no, the button should be held down for as long as the HTTP request body is held open. So you need to do:
$ curl http://localhost:5000/29 -d @- &
$ curl http://localhost:5000/6
$ fg
^D -
@retroswim that's not actually possible, because the keyboard key for "6" is running on a separate virtual computer than the shift key, and they can't communicate with each other!
-
this is the first and hopefully not the last time a llama has gotten in the way of my attempts to record a video of my new keyboard in use
-
@ekimekim @retroswim sadly not possible with the HTTP library I'm using on the client side
-
@foone I didn't mean the shift key, I mean key down/press, key up/release!
-
@retroswim oh I see!
sadly not possible with my HTTP library
-
keyboard tested and video recorded!
well, videos. I'm running this across two computers, one Raspi Pico, one video game, and 32 virtual computers.
Editing this together is going to be UNFUN -
@foone Bad ideas? No, only the worst possible ideas around here.
-
FUCK one didn't record. Time to do it again, and then it gets harder: finding out if I can run divinci resolve on this laptop
-
@winissen yeah I'm a professional, I have had a lot of experience in developing bad ideas
-
I KNOW PROGRAMMERS WHO USE DPI SCALING AND THEY'RE ALL COWARDS
-
@foone AOL Free Trial? How do I get that?
-
@jaykass I think it came with The Learning Company's Super Solvers Gizmos & Gadgets
-
okay I think I got it, I just need to render it and confirm it looks right on the render.