[MAC] Numbers as Shortcut's
BlitzMax Forums/BlitzMax Module Tweaks/[MAC] Numbers as Shortcut's
| ||
| There is a bug in the maxgui that doesn't allow us to use Numbers in the Menubar on Mac OS. You have to add this code to cooca.macos.m: if (key>=KEY_0 && key<=KEY_9) return key-KEY_0+'0'; in the Function keyToChar( key ) it looks like this: static int keyToChar( int key ){
if( key>=KEY_A && key<=KEY_Z ) return key-KEY_A+'a';
if( key>=KEY_F1 && key<=KEY_F12 ) return key-KEY_F1+NSF1FunctionKey;
if (key>=KEY_0 && key<=KEY_9) return key-KEY_0+'0';
switch( key ){I stumbled upon this problem today. Maybe someone could use this fix. Last edited 2011 |
| ||
| Thanks, will fix. |