project-navigation
Personal tools

Author Topic: Accidentally hitting return  (Read 1859 times)

Offline anonymissimus

  • Sergeant
  • *****
  • Posts: 347
    • View Profile
Accidentally hitting return
« on: August 07, 2014, 12:07:08 am »
This happened a few times for me now. The return key is directly besides those keys that move the battlescape camera up or down. Needless to say, ending the turn unexpectedly is fatal. So, can we please unbind this key, bind it to something else etc.
Freeorion comes into my mind, their end turn button is intentionally small and placed far away from other buttons because of this. The return key however is the largest on the keyboard.
Can I perhaps set something in a file to unbind or rebind the key ?

Offline Internecivus

  • Rookie
  • ***
  • Posts: 64
  • Sometimes I Code
    • View Profile
Re: Accidentally hitting return
« Reply #1 on: August 07, 2014, 12:30:12 am »
Edit your keys.cfg and remove bindings from ENTER and KP_ENTER or replace with your desired key for nextround.

Offline anonymissimus

  • Sergeant
  • *****
  • Posts: 347
    • View Profile
Re: Accidentally hitting return
« Reply #2 on: August 07, 2014, 06:35:23 pm »
Thanks, works. Commented the 2 lines with //.
The keys.cfg mentioned is in ~/.ufoai/2.5/base/ where ~ is the OS-dependent userdata directory.