How to disable shift-q (insta-quit)?

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Post Reply
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 596
Joined: Sun Jul 21, 2013 12:26 pm

How to disable shift-q (insta-quit)?

Post by Astrobe » Thu Jul 14, 2016 3:01 pm

I hit it sometimes by accident in the middle of a fight and that's very, very, very, very, very ,very, very, very, very frustrating every time.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5394
Joined: Wed Feb 28, 2007 7:54 am

Re: How to disable shift-q (insta-quit)?

Post by another_commander » Thu Jul 14, 2016 9:35 pm

If there are no objections by any Windows or Linux users, I am very tempted to disable Shift+Q and leave only Shift+Esc as instant quit.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13616
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: How to disable shift-q (insta-quit)?

Post by Cody » Thu Jul 14, 2016 10:03 pm

No objections here, Admiral.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5394
Joined: Wed Feb 28, 2007 7:54 am

Re: How to disable shift-q (insta-quit)?

Post by another_commander » Fri Jul 15, 2016 5:58 am

Having looked at the code a bit, it looks like Shift-Q is a Windows-only thing. This looks like an inconsistency that needs to be taken care of. I don't see why the Windows port needs this extra key combo (which is also hard-coded by the way). Will remove it later today.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5394
Joined: Wed Feb 28, 2007 7:54 am

Re: How to disable shift-q (insta-quit)?

Post by another_commander » Fri Jul 15, 2016 3:58 pm

... and it's been removed.

Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 596
Joined: Sun Jul 21, 2013 12:26 pm

Re: How to disable shift-q (insta-quit)?

Post by Astrobe » Fri Jul 15, 2016 7:19 pm

A lot of thanks!

Post Reply