Marcos Henrique Esteves Barbosa wrote, On 12/24/2010 01:00 PM: > > Hello everybody! > > My problem is this: > In FreeRDP old version (i don't know what version exactly) i use this > code to execute scripts when keys is pressed: > > void > xkb_handle_special_keys(void * inst, uint32 time, uint16 flags, uint8 > keycode) > { > vkcode = keycodeToVkcode[keycode]; > > switch(vkcode) > { > case VK_SCROLL: > system("/usr/bin/devilspie -a"); > break; >
Yes, that is your problem. If you want special keyboard macros then do that somewhere else, not by hacking your programs. Anyway, see: X11/xf_keyboard.c (especially xf_kb_handle_special_keys) libfreerdpkbd/ http://www.freerdp.com/wiki/doku.php?id=keyboard /Mads ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel