On Sun, Jul 14, 2013 at 02:45:41AM +1200, Ralph Versteegen wrote: > On 13 July 2013 16:35, <[email protected]> wrote: > > james > > 2013-07-12 21:35:25 -0700 (Fri, 12 Jul 2013) > > 338 > > sdl-android virtual keyboard sends U+0304 COMBINING MACRON before each > > shifted key. > > Detect it, and uppercase the next char in the w_in buffer. > > > > Also use a simple hack to shift punctuation keys. I would have used the > > key2text array > > but it appears that it fails to be initialized on android (because it is > > initialized on the moudle level?) > > --- > > U wip/allmodex.bas > > Oh! That's very serious, and strange: I though I had already confirmed > that all module level code was being run.
Actually, maybe it has nothing to do with being module-level. I forgot about one thing I tried. I tried converting key2text() into a function instead of a global array, and inside the function I declared the same array as STATIC _key2text and initialized it in the same way, and it was still full of empty values on Android. So maybe what is broken on Android is the intitialization of default values in arrays of fixed length strings. (we only use a handful of them) --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
