> I'm trying to catch MSG_META_KBD_CHAR in my subclass of VisLargeTextClass.
> It works just fine for normal keys, but keys like tab and enter don't get
> caught. Here's what I'm doing. KeyMonitor is a GenValue to show the value of
Your example doesn't look too bad to me. Code very similar to this is working
over here... :-)
The only things I could think of:
- The constant for the special keys start with VC_* and are defined in input.h
- anyway, VC_TAB maps to 0x09, which is just what you'd expect it to...
- Did you try casting the character argument to (byte)character in the switch()
head? The documentation states explicitly that the *low byte* of the argument
contains the character code. Could the GEN_VALUE object showing "zero" be a
result of the passed value exceeding the value range specified for the object?
ciao marcus