more rawkeydown problems

Wouter wouter.abraham at scarlet.be
Sun Mar 6 13:13:05 EST 2005


Hi All,

If crossplatform uniformness is not your piece of cake then please 
don't read this mail.
But for those who really need to process keyboard input here are some 
more keyboard anomalies to check.

All values are from a rawkeydown handler.
- the key straight under the escape key (qwerty `/ ~  or  §/±  or 
something else depending on which qwerty you use) will give a 0 value 
on mac os x
when an american qwerty keyboard layout is chosen but not with another 
keyboard layout.
- help key on mac os x gives value 268762986 instead of 65379 (win vpc)
- the numlock key on mac osx x enters a char in the field when focused 
and  editable: numtochar(27)
- the values of the numeric keyboard on mac differ from these of win !!!
   On mac os x the value without numLock is the same as with numLock, 
not on win vpc.
   On win vpc side there are also some anomalies (see below).

### numerical keyboard

  65429  ### 7 mac os x
  65463  ### 7 - numlock win vpc
  65360  ### 7 + numlock win vpc

  65430  ### 4 mac os x
  65460  ### 4 - numlock win vpc
  65361  ### 4 + numlock win vpc

  65431  ### 8 mac os x
  65464  ### 8 - numlock win vpc
  65362  ### 8 + numlock win vpc

  65432  ### 6 mac os x
  65462  ### 6 - numlock win vpc
  65363  ### 6 + numlock win vpc

  65433  ### 2 mac os x
  65458  ### 2 - numlock win vpc
  65364  ### 2 + numlock win vpc

  65434  ### 9 mac os x
  65465  ### 9 - numlock win vpc
  65365  ### 9 + numlock win vpc

  65435  ### 3 mac os x
  65459  ### 3 - numlock win vpc
  65366  ### 3 + numlock win vpc

  65436  ### 1 mac os x
  65457  ### 1 - numlock win vpc
  65367  ### 1 + numlock win vpc

  65437  ### 5 mac os x
  65461  ### 5 - numlock win vpc
  65461  ### 5 + numlock win  vpc !!! no change


  65438  ### 0 mac os x
  65456  ### 0 - numlock win
  65379  ### 0 + numlock win

  65439  ### . mac os x
  65454  ### . - numlock win
  65535  ### . + numlock win  !!! value of deletekey on mac !!!

  65493  ### = mac os x
         61  ### = win vpc  the chartonum value

  other keys of the  numerical keyboard are the same

These are tests on a apple usb keyboard. May be there will also be 
differences on laptop keyboards.
If someone can test and confirm the above then this can be bugzilla'ed.

TIA
Greetings,
Wouter


More information about the use-livecode mailing list