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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #25  
Old April 27th, 2009, 10:58 PM

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: Anyway to disable "e" button?

I didn't read all of this thread: Don't shoot me if this solution has already been mentioned.

Here is a little script called 'dom' that re-maps the keyboard 'e' to 'r' (so you have two 'r' keys) and makes the 'end' key an 'e'. (It's harder to accidentally hit it there.) When dom3 quits, the script re-maps the original key-bindings. Unfortunately, this mapping, when in use is system wide. (ie. have fun trying to IM when playing ;-) ) This is for Linux.

Code:
#!/bin/bash

xmodmap -e "keycode  26 = 0x0072"    # make e --> r
xmodmap -e "keycode 103 = 0x0065"    # make end --> e
dom3                                 # you might need the full path
xmodmap -e "keycode  26 = 0x0065"    # make e --> e 
xmodmap -e "keycode 103 = 0xff57"    # make end --> end
Reply With Quote
The Following User Says Thank You to Jagdpanther For This Useful Post:
 

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 03:50 PM.


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