Difference between revisions of "Talk:Oolite Keyboard Controls"

From Elite Wiki
m (Missing codes)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
   
 
:A_H
 
:A_H
  +
  +
----
  +
  +
? for Filter Market
  +
  +
/ for Sort Market
  +
  +
:Cholmondeley
   
 
== ASCII? Scan codes? What on Earth is this? ==
 
== ASCII? Scan codes? What on Earth is this? ==
Line 16: Line 24:
 
-- [[User:Khokkanen|Khokkanen]] 12:50, 20 December 2008 (UTC)
 
-- [[User:Khokkanen|Khokkanen]] 12:50, 20 December 2008 (UTC)
   
:OK, I found out the key codes for those keys that have no ASCII codes; they were in MyOpenGLView.h in SDL (or Cocoa) sources. Here they are: gvArrowKeyUp = 255, gvArrowKeyDown = 254, gvArrowKeyLeft = 253, gvArrowKeyRight = 252, gvFunctionKey1 = 241, gvFunctionKey2 = 242, gvFunctionKey3 = 243, gvFunctionKey4 = 244, gvFunctionKey5 = 245, gvFunctionKey6 = 246, gvFunctionKey7 = 247, gvFunctionKey8 = 248, gvFunctionKey9 = 249, FunctionKey10 = 250, gvFunctionKey11 = 251, gvMouseLeftButton = 301, gvMouseDoubleClick = 303, gvHomeKey = 302, gvNumberKey0 = 48, gvNumberKey1 = 49, gvNumberKey2 = 50, gvNumberKey3 = 51, gvNumberKey4 = 52, gvNumberKey5 = 53, gvNumberKey6 = 54, gvNumberKey7 = 55, gvNumberKey8 = 56, gvNumberKey9 = 57
+
:OK, I found out the key codes for those keys that have no ASCII codes; they were in MyOpenGLView.h in SDL (or Cocoa) sources. Here they are: gvArrowKeyUp = 255, gvArrowKeyDown = 254, gvArrowKeyLeft = 253, gvArrowKeyRight = 252, gvFunctionKey1 = 241, gvFunctionKey2 = 242, gvFunctionKey3 = 243, gvFunctionKey4 = 244, gvFunctionKey5 = 245, gvFunctionKey6 = 246, gvFunctionKey7 = 247, gvFunctionKey8 = 248, gvFunctionKey9 = 249, FunctionKey10 = 250, gvFunctionKey11 = 251, gvMouseLeftButton = 301, gvMouseDoubleClick = 302, gvHomeKey = 303, gvEndKey = 304, gvNumberKey0 = 48, gvNumberKey1 = 49, gvNumberKey2 = 50, gvNumberKey3 = 51, gvNumberKey4 = 52, gvNumberKey5 = 53, gvNumberKey6 = 54, gvNumberKey7 = 55, gvNumberKey8 = 56, gvNumberKey9 = 57
 
-- [[User:Khokkanen|Khokkanen]] 16:58, 23 December 2008 (UTC)
 
-- [[User:Khokkanen|Khokkanen]] 16:58, 23 December 2008 (UTC)
  +
  +
== Old table ==
  +
  +
Do we still need the old table? v1.76 is a stable release... [[User:Svengali|Svengali]] 19:28, 8 February 2012 (UTC)

Latest revision as of 11:15, 24 November 2020

you should probably add the keyconfig.plist <key>'s for each control


<shift>r for selected cargo jettison, in cargo screen.

When in the shortrange map, press <-i-> for graphical systeminfo.

A_H

? for Filter Market

/ for Sort Market

Cholmondeley

ASCII? Scan codes? What on Earth is this?

Err... How the heck am I supposed to modify my key config when I have no idea what code corresponds to which key? These codes are clearly not ASCII (although some of them are) because there is no ASCII code for left, home or other special keys - and most of all, ASCII (even when extended) goes only up to 255... So what's Home key doing with a code of 302?

Moreover, this link is completely useless - with the first glance one can tell that those keycodes have nothing to do with those described here. So what are the correct keycodes for the keys on my keyboard? -- Khokkanen 12:50, 20 December 2008 (UTC)

OK, I found out the key codes for those keys that have no ASCII codes; they were in MyOpenGLView.h in SDL (or Cocoa) sources. Here they are: gvArrowKeyUp = 255, gvArrowKeyDown = 254, gvArrowKeyLeft = 253, gvArrowKeyRight = 252, gvFunctionKey1 = 241, gvFunctionKey2 = 242, gvFunctionKey3 = 243, gvFunctionKey4 = 244, gvFunctionKey5 = 245, gvFunctionKey6 = 246, gvFunctionKey7 = 247, gvFunctionKey8 = 248, gvFunctionKey9 = 249, FunctionKey10 = 250, gvFunctionKey11 = 251, gvMouseLeftButton = 301, gvMouseDoubleClick = 302, gvHomeKey = 303, gvEndKey = 304, gvNumberKey0 = 48, gvNumberKey1 = 49, gvNumberKey2 = 50, gvNumberKey3 = 51, gvNumberKey4 = 52, gvNumberKey5 = 53, gvNumberKey6 = 54, gvNumberKey7 = 55, gvNumberKey8 = 56, gvNumberKey9 = 57

-- Khokkanen 16:58, 23 December 2008 (UTC)

Old table

Do we still need the old table? v1.76 is a stable release... Svengali 19:28, 8 February 2012 (UTC)