Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by danbruc on Tuesday November 21, 2023 @04:40AM
(#38361485)
He is dialing the ASCII codes, 114 for r, 108 for l, 100 for d, and 33 for !. Or maybe Unicode code points, impossible to tell from this demo.
[ Parent
| on HN ]
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by aschmelyun on Tuesday November 21, 2023 @05:16AM
(#38361731)
You're correct with ASCII! My original idea was to use T9, but my ultimate goal is to use this as a way of writing code.
Currently waiting on a small oled screen to print out the # inputs and corresponding last-typed character.
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by jstanley on Tuesday November 21, 2023 @07:59AM
(#38363075)
I'm guessing it works out how many digits to expect for each codepoint by looking at the first digit (i.e. if it starts with a 1 then it has to be 3 digits, otherwise it is only 2).
Does this mean it's impossible to type a newline character, or a backspace, for example?
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by danbruc on Tuesday November 21, 2023 @08:47AM
(#38363516)
You could dial 013 and 010.
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by jstanley on Tuesday November 21, 2023 @09:58AM
(#38364461)
Ah, so the logic is that if it starts with either a 0 or a 1 then you need to type 3 digits, otherwise 2? Nice.
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by danbruc on Tuesday November 21, 2023 @10:26AM
(#38364866)
No idea, I didn't build the thing, just suggesting how it could work. If you want to cover [extended] ASCII, then every first digit could indicate a one or two digit code, one and two also a three digit code. So one possibility would be to have three digits for first digits zero, one, and two and otherwise two digits. All single digit ASCII codes require two leading zeros and all two digits ASCII codes starting with one or two require one leading zero. You could of course also make everything three digits with leading zeros as needed, would be easier at the cost of more dialing. Or use a timeout, if no new digits arrives within a specific time, then a new character starts.
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by aschmelyun on Tuesday November 21, 2023 @02:18PM
(#38368534)
You both are 100% correct! Originally I was going to have a wait (say, no new digits after 3 seconds, mark the ascii character), but I figured just scrapping everything after 20 as an immediate character and anything under as a 3 digit one, it made typing a lot faster.
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by m463 on Tuesday November 21, 2023 @05:51AM
(#38361971)
I think on a PC keyboard you can simulate this by holding ALT and typing 114 on the numeric keypad
I wonder if you can change the rotary phone to octal? that would be great to boot a pdp 11/34.
Re:My keyboard wasn't mechanical enough, so I upgraded to a ...
by onecommentman on Tuesday November 21, 2023 @08:18PM
(#38373292)
A few decades ago, you could make ASR-33 teletype printer with an acoustic modem print…something…by whistling into the modem. Why go mechanical when you can be artisanal/organic?