spider-j
Registered: Oct 2004 Posts: 502 |
Release id #207357 : Gt2fork V0.5b
Quote:It seems like the keys Y and Z is flipped (qwertz), like on a german(?) keyboard. Is it a way to make it "standard"-qwerty?
I'm using a Swedish keyboard with standard qwerty-layout.
Hm. That is quite funny, because me (as a german with QWERTZ layout) always had the problem the other way around, but for some reason only on linux and not on windows with the original SDL1 based GT2. I thought switching to SDL2 automagically "fixed" the problem.
I didn't change any of the original source code in the key tables. It's still QWERTY in the source code. But this should be mapped to local settings by SDL / your OS anyway...
Original:
unsigned char notekeytbl1[] = {KEY_Z, KEY_S, KEY_X, KEY_D, KEY_C, KEY_V,
KEY_G, KEY_B, KEY_H, KEY_N, KEY_J, KEY_M, KEY_COMMA, KEY_L, KEY_COLON};
unsigned char notekeytbl2[] = {KEY_Q, KEY_2, KEY_W, KEY_3, KEY_E, KEY_R,
KEY_5, KEY_T, KEY_6, KEY_Y, KEY_7, KEY_U, KEY_I, KEY_9, KEY_O, KEY_0, KEY_P};
https://sourceforge.net/p/goattracker2/code/HEAD/tree/goattrk2/..
gt2fork:
unsigned char notekeytbl1[] = {
KEY_Z, KEY_S, KEY_X, KEY_D, KEY_C, KEY_V,
KEY_G, KEY_B, KEY_H, KEY_N, KEY_J, KEY_M, KEY_COMMA, KEY_L, KEY_COLON
};
unsigned char notekeytbl2[] = {
KEY_Q, KEY_2, KEY_W, KEY_3, KEY_E, KEY_R,
KEY_5, KEY_T, KEY_6, KEY_Y, KEY_7, KEY_U, KEY_I, KEY_9, KEY_O, KEY_0, KEY_P
};
https://github.com/jansalleine/gt2fork/blob/dev/gt2fork/src/gpa..
So, sorry, I have no workaround for this problem right now :-(
I will try to get rid of the BME wrapper and replace it with pure SDL2 in the future – hoping this will fix stuff like that. |