Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #207357 : Gt2fork V0.5b
2021-08-26 21:00
spider-j

Registered: Oct 2004
Posts: 443
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.
2021-08-26 21:15
theK

Registered: Oct 2020
Posts: 44
No worries! :-)
Thanks for the answer and you work for the scene! :-)
/K
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
CopAss/Leader
t0m3000/ibex-crew
Malmix/Fatzone
hedning/G★P
csabanw
Yugorin/Samar Produc..
Thierry
DeMOSic/HF^MS^BCC^LSD
Guests online: 325
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.038 sec.