Problems with USB keyboard (keydown and inkey)


Author Message
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 757
Posted: 07:27am 02 Oct 2025      

Hello all!

Maybe this is more a question for Peter, but maybe I am blind and anyone knows a solution.

I am heavily working on the translation of my journal/diary program including GUIs for the PicoMite HDMI (USB!) version, because I started this project in pure German.

The Problem: I was using the PicoMite HDMI PS/2 version, in this version I am able to
read in the raw ASCII value via the command:


MM.INFO(PS2) '(Reports the last raw message received on the PS2 interface if enabled.)


Why would I do this? Simply because this allows me to read in the raw key of German Umlaute (ÄäÜüÖöß) and map then to a custom font made by Martin, which has all the German Umlaute in it.

So for converting this already huge program, I have written, to the USB version, I desperatly need to read in the raw USB keys of those Umlaut-Keys, too. I can't find any command for this. I was optimistic that:


keyDown(n)


will do the trick, for the USB version - but it doesn't show anything when I press on my German Keyboard "ÄÜüÖöß" - so there is no solution for me, to translate my software for the German USB version (and after that to the english USB version).

I really hope there is a solution for that, if not I have to stick to the PS/2 version - which is ok, but sad, since Peter fixed the missing keys on the USB version many iterations ago  

Only for the interested, a short program description:
---------------------------------------------------------------

Here are some images of the already finished (german version) of my diary/journaling
software, it also includes a text editor, excessive graph options to show different parameters. And it doesn't stop there: you have in fact three different working areas:

diary/journal = German = "Tagebuch"
health        = German = "Gesundheit"
notebook      = German = "Notizbuch"

in every area (German = "Bereich") you have different visualisation parameters for the graph. For example you can track your: pulse, blood pressure, stress, words you have written on the specific entry, and you can even add own comparison parameters.
There is a search function, which allows to search a whole month for specific words.

The program is split into six different (chained) programs.

-----------------------------------------------------------------









Greetings
Daniel
Edited 2025-10-02 17:50 by Amnesie