Re: [Om2008.9] Example of remapping AUX button for Scummvm

2008-10-23 Thread 路阔
Thank you for your script! I have AUX remapped to F11 when using ePDFViewer,
so that it can return from full screen mode now.

But, `eval' have to be used in the new better version:
eval enlightenment_remote -binding-key-del ${CONTEXT} ${KEY} ${MODIFIERS}
${ANY_MOD} ${ACTION} ${PARAMS}
eval enlightenment_remote -binding-key-add ${CONTEXT} ${KEY} ${MODIFIERS}
${ANY_MOD} ${ACTION} ${PARAMS}

Or it won't work, and we will get this:
REPLY: BINDING CONTEXT=ANY KEY=Keycode-177 MODIFIERS=NONE ANY_MOD=1
ACTION=simple_lock PARAMS=
REPLY: BINDING CONTEXT=ANY KEY=Keycode-177 MODIFIERS=NONE ANY_MOD=1
ACTION=simple_lock PARAMS=
REPLY: BINDING CONTEXT=ANY KEY=Keycode-177 MODIFIERS=NONE ANY_MOD=1
ACTION=simple_lock PARAMS=
...

2008/10/20 Bryan DeLuca [EMAIL PROTECTED]

 On Sun, 19 Oct 2008 15:05:48 +0200
 Marco Trevisan (Treviño) [EMAIL PROTECTED] wrote:

  Bryan DeLuca wrote:
   I thought some folks might find this useful.  I have updated the
 scummvm shell script in Om2008.9 stable, to remove the enlightenment keybind
 to allow for the key to be remapped with xmodmap.  I simply followed
 Raster's instructions on using enlightenment_remote.  Hope this helps
 someone.
 
  Nice example... Thanks!
 
  --
  Treviño's World - Life and Linux
  http://www.3v1n0.net/
 

 Glad you like it.  Here is a better version that will capture whatever the
 previous Enlightenment settings for AUX were.  Instead of assuming like my
 first version did.   Should be good enough for most uses.

 Enjoy!
 --
 Bryan DeLuca [EMAIL PROTECTED]

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] Example of remapping AUX button for Scummvm

2008-10-19 Thread Rui Miguel Silva Seabra
On Sat, Oct 18, 2008 at 10:34:33PM -0500, Bryan DeLuca wrote:
 I thought some folks might find this useful.  I have updated the scummvm 
 shell script in Om2008.9 stable, to remove the enlightenment keybind to allow 
 for the key to be remapped with xmodmap.  I simply followed Raster's 
 instructions on using enlightenment_remote.  Hope this helps someone.

Nice, thank you very much.

I wonder if enlightenment_remote is the best way to know the screen is
locked... (will test later)

Rui


-- 
This statement is false.
Today is Boomtime, the 73rd day of Bureaucracy in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] Example of remapping AUX button for Scummvm

2008-10-19 Thread Bryan DeLuca
On Sun, 19 Oct 2008 15:05:48 +0200
Marco Trevisan (Treviño) [EMAIL PROTECTED] wrote:

 Bryan DeLuca wrote:
  I thought some folks might find this useful.  I have updated the scummvm 
  shell script in Om2008.9 stable, to remove the enlightenment keybind to 
  allow for the key to be remapped with xmodmap.  I simply followed Raster's 
  instructions on using enlightenment_remote.  Hope this helps someone.
 
 Nice example... Thanks!
 
 -- 
 Treviño's World - Life and Linux
 http://www.3v1n0.net/
 

Glad you like it.  Here is a better version that will capture whatever the 
previous Enlightenment settings for AUX were.  Instead of assuming like my 
first version did.   Should be good enough for most uses.

Enjoy!
-- 
Bryan DeLuca [EMAIL PROTECTED]


openmoko-scummvm.new
Description: Binary data
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community