Left and Right Shift Keys or Modifier Keys

Mark Wieder mwieder at ahsoftware.net
Sat Feb 2 19:19:41 EST 2013


Thomas-

Saturday, February 2, 2013, 3:41:28 PM, you wrote:

>  I also found this list for Mac Keyboards:

> ESC: 53 F1: 122 F2: 120 F3: 99  F4: 118 F5: 96  F6: 97  F7: 198
> F8: 100 F9: 101 F10: 109        F11: 103        F12: 111        
> `: 50   1: 18   2: 19   3: 20   4: 21   5: 23   6: 22   7: 26  
> 8: 28   9: 25   0: 29   -: 27   =: 24   delete: 51
> TAB: 48 q: 12   w: 13   e: 14   r: 15   t: 17   y: 16   u: 32  
> i: 34   o: 31   p: 35   [: 33   ]: 30   \: 42
> CAPSLOCK: 57    a: 0    s: 1    d: 2    f: 3    g: 5    h: 4   
> j: 38   k: 40   l: 37   ;: 41   ": 39   RETURN: 36      
> SHIFT: 56               z: 6    x: 7    c: 8    v: 9    b: 11  
> n: 45   m: 46   ,: 43   .: 47   /: 44   SHIFT: 50       
> fn: 63  ctrl: 59        alt: 58 cmd: 55 SPACE: 49                
> cmd: 54 alt: 61 UP: 126 DOWN: 125       LEFT: 123       RIGHT: 124

> But the 1K question is how to detect them in LC????

I don't that that's going to be possible. Those look like keyboard
scan codes, and that's at the hardware level, below the OS. I think
you're gonna have to get down and dirty writing your own keyboard scan
driver if you want them.

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list