So, in my personal version of QB64, I’ve sat down and added a quick command for Keycode. Much like the ASCII chart, it’s included in my Help menu, and has a CTRL-K quick key combo to pop it up. Once you’ve popped up the screen, it twiddles its thumbs for 1 second, doing nothing (a _DELAY 1 pause), giving you time to let go of any unwanted keys, and then after that it accepts your next keypress and enters that keycode into your IDE.
For me, this is a godsend for saving time and looking up codes on the web. All I need is CTRL-K, wait a sec, hit left arrow, and 19200 pops up where my cursor is, in the IDE. CTRL-K, pause a sec, hit CTRL, and 100305 or 100306 goes into the IDE.
It’s a shortcut combo to automatically insert keyhit codes into the IDE.
If you guys want, I can easily add the code into the repo for everyone else to enjoy, as I currently use it. If nobody else likes the idea, I can simply keep it in my personal version. If somebody has a different behavior, idea, or need (such as a toggle to swap between keyhit, inp, and devices codes), let me know and I’ll see about adding such features before pushing them into the repo.
Let me know what you guys think, and want, and I’ll look into adding the change into the repo when I get back home after taking care of mom this week.