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

[REBOL] Re: What keycodes can sensors detect

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