Talk:Oolite Keyboard Controls

From Elite Wiki

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)