.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Disable or re-map Hot-Key? [Resolved] (http://forum.shrapnelgames.com/showthread.php?t=35804)

Jagdpanther August 26th, 2007 12:16 AM

Re: Disable or re-map Hot-Key?
 
Here is the Linux bash script to change
e --> r # so no accidental end of turn
end --> e # press end to end turn or 'e'for other apps
run dominions 3
when dominions 3 exits change keys back:

---------------------
<font class="small">Code:</font><hr /><pre>#!/bin/bash

xmodmap -e "keycode 26 = 0x0072" # make e --&gt; r
xmodmap -e "keycode 103 = 0x0065" # make end --&gt; e
dom3 # you might need full path
xmodmap -e "keycode 26 = 0x0065" # make e --&gt; e
xmodmap -e "keycode 103 = 0xff57" # make end --&gt; end
</pre><hr />
------------------


All times are GMT -4. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.