.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #11  
Old August 26th, 2007, 12:16 AM

Jagdpanther Jagdpanther is offline
Corporal
 
Join Date: Mar 2004
Location: Los Angeles, CA
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Jagdpanther is on a distinguished road
Default 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:

---------------------
Code:
#!/bin/bash

xmodmap -e "keycode 26 = 0x0072" # make e --> r
xmodmap -e "keycode 103 = 0x0065" # make end --> e
dom3 # you might need full path
xmodmap -e "keycode 26 = 0x0065" # make e --> e
xmodmap -e "keycode 103 = 0xff57" # make end --> end


------------------
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:05 AM.


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