Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

What keycodes can sensors detect

 [1/2] from: philb:upnaway at: 24-Feb-2002 20:50


Hi, Is there a list of keycodes a sensor can process. (I want to process PageUp/Down & Cursor Keys) Or is there a program that will display keycodes? Cheesr Phil

 [2/2] from: atruter::hih::com::au at: 25-Feb-2002 11:45


<SNIP>Is there a list of keycodes a sensor can process. (I want to process PageUp/Down & Cursor Keys) Or is there a program that will display keycodes?</SNIP> Sample VID keycodes are: button #"+" button keycode[down] button keycode[page-down] Some kind soul sent this through a while back: REBOL [] key-event: func [face event] [ if event/type = 'key [ print mold event/key print event/shift print event/control ] event ] insert-event-func :key-event view layout [ text {Type and see the char or keycode printed in console} button "Remove Event & Close" 200 [remove-event-func :key-event unview/all] ] Regards, Ashley