Project

General

Profile

Bug #634

KSP ignores 'capslock' key to toggle precision mode

Added by SuperD almost 11 years ago. Updated almost 7 years ago.

Status:
Closed
Severity:
Low
Assignee:
-
Category:
Controls and UI
Target version:
-
Start date:
05/17/2013
% Done:

100%

Version:
Platform:
OSX
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

In the OSX client hitting the caps lock key does not toggle the precision control mode.

going into the settings and attempting to reassign the button to the caps lock key causes no response. setting it to the Tab key or anything else works fine.

History

#1 Updated by ojii almost 11 years ago

  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

SuperD wrote:

In the OSX client hitting the caps lock key does not toggle the precision control mode.

going into the settings and attempting to reassign the button to the caps lock key causes no response. setting it to the Tab key or anything else works fine.

Same issue here on an MacBookAir 5.1, OSX 10.8.4, using the steam version.

#2 Updated by PixelClef over 9 years ago

OS: 10.9.4
KSP: 0.24.2.559

Confirmed this issue today in all three game modes. Caps Lock affects neither the granularity of response to WASD, nor does it change the color of the input sliders in the bottom left.

#3 Updated by spudbean over 9 years ago

Here is some debugging I've done by writing a small mod. This is on Mac OS X 10.9.4 using KSP 0.24.2.

I added these debug lines to an OnGUI() method:

Debug.Log("via Event " + Event.current.capsLock);
Debug.Log("via Input " + 
    Input.GetKey(KeyCode.CapsLock) + " " +
    Input.GetKeyDown(KeyCode.CapsLock) + " " +
    Input.GetKeyUp(KeyCode.CapsLock));

When capslock is pressed, the output is:

[LOG 23:07:44.492] via Event True
[LOG 23:07:44.492] via Input False False False

I'm not sure what the best way to work around this problem is. One hack would be to specifically check to see if the primary/secondary in KeyBinding capslock, and check Event.current instead of Input.GetKey, e.g.

bool primaryWasPressed = primary == KeyCode.CapsLock ? Event.current.capslock : Input.GetKey(primary);

#4 Updated by PixelClef over 9 years ago

OS: 10.9.5
KSP: 0.25.0.642

Noting again that this feature is not functional on the Mac platform. Is there further information that I can provide?

#5 Updated by TriggerAu almost 8 years ago

  • Status changed from Confirmed to Needs Clarification
  • % Done changed from 10 to 0

#6 Updated by SoulWager almost 8 years ago

  • Status changed from Needs Clarification to Updated
  • % Done changed from 0 to 10

Confirmed in 1.1.3
Caps lock doesn't work, but reassigning fine controls to another key does work.

#7 Updated by cpcallen almost 8 years ago

  • Status changed from Updated to Confirmed

Confirmed in 1.1.3 on OS X 10.11.5.

#8 Updated by TriggerAu over 7 years ago

Thanks for the update guys. Appreciate it

#9 Updated by sal_vager over 7 years ago

  • Status changed from Confirmed to Ready to Test
  • % Done changed from 10 to 80

Hi guys, can you check that the Return key is now the default key for fine control on OSX please, you may need to rename the settings.cfg to prompt KSP to make a fresh one.

#10 Updated by Squelch almost 7 years ago

  • Status changed from Ready to Test to Resolved
  • % Done changed from 80 to 100

#11 Updated by Squelch almost 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF