well, I accidentally made a keyboard backwards.
-
replied to RetroSwim last edited by
@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 -
replied to RetroSwim last edited by
@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!
-
replied to Foone🏳️⚧️ last edited by
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
-
replied to ekimekim last edited by
@ekimekim @retroswim sadly not possible with the HTTP library I'm using on the client side
-
replied to Foone🏳️⚧️ last edited by
@foone I didn't mean the shift key, I mean key down/press, key up/release!
-
replied to RetroSwim last edited by
@retroswim oh I see!
sadly not possible with my HTTP library
-
replied to Foone🏳️⚧️ last edited by
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 -
replied to Foone🏳️⚧️ last edited by
@foone Bad ideas? No, only the worst possible ideas around here.
-
replied to Foone🏳️⚧️ last edited by
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
-
replied to Walter Nissen last edited by
@winissen yeah I'm a professional, I have had a lot of experience in developing bad ideas
-
replied to Foone🏳️⚧️ last edited by
I KNOW PROGRAMMERS WHO USE DPI SCALING AND THEY'RE ALL COWARDS
-
replied to Foone🏳️⚧️ last edited by
@foone AOL Free Trial? How do I get that?
-
replied to JacobRPG+ 🫘 last edited by
@jaykass I think it came with The Learning Company's Super Solvers Gizmos & Gadgets
-
replied to Foone🏳️⚧️ last edited by
okay I think I got it, I just need to render it and confirm it looks right on the render.
-
replied to Foone🏳️⚧️ last edited by
@foone If it's a USB keyboard, why not send a complete 8-byte HID packet? That even gets you n-key rollover, and takes care of modifiers (shift, etc) at the same time. You can even extend that with chunks of 8, representing subsequent reports, finally ending with an implicit "all keys up".
e.g. /0000060000000000:0000070000000000
-
replied to Rogan Dawes last edited by
@RoganDawes can't! each key is a separate (virtual) computer, so they can't talk to each other. They each send separate UDP packets when pressed
-
replied to Foone🏳️⚧️ last edited by
-
replied to Foone🏳️⚧️ last edited by
@foone Doesn't the keyboard indicate if it was pressed or released? You could make that PUT and DELETE requests.
-
replied to Jos last edited by
@goleztrol hmm. Technically, yeah! I think so.