From: kramm Date: Fri, 16 Nov 2001 15:28:53 +0000 (+0000) Subject: added escape-key action condition X-Git-Tag: release-0-1-2~13 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=56b6a8db558cbcc9d8fd7313d2c68b0325421f23 added escape-key action condition (and some doc about other keyboard action conditions) --- diff --git a/lib/rfxswf.h b/lib/rfxswf.h index aa7c4da..d7e186e 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -429,8 +429,30 @@ int swf_ObjectMove(TAG * t,U16 depth,MATRIX * m,CXFORM * cx); #define BC_PAGEUP 0x2000 #define BC_PAGEDOWN 0x2200 #define BC_TAB 0x2400 +#define BC_ESCAPE 0x3600 #define BC_SPACE 0x4000 +/* these are probably only valid with linux: + Ctrl-A 0x0200 + Ctrl-X 0x3000 + Ctrl-Y 0x3200 + Ctrl-Z 0x3400 + Escape/Ctrl-[ 0x3600 + Ctrl-\ 0x3800 + Ctrl-] 0x3a00 + Ctrl-^ 0x3c00 + Ctrl-/ 0x3e00 + */ + +/* everything above 0x4000 is standard ascii: + 0x4000 ' ' 0x4200 '!' 0x4600 '#' 0x4800 '$' 0x4a00 '%' 0x4c00 '&' ... + 0x6000 '0' ... 0x7200 '9' + 0x8000 '@' + 0x8200 'A' ... 0xb400 'Z' + ... + 0xfc00 '~' + */ + // Button Flag #define BF_TRACKMENU 0x01