Control layout changes are not persistent

Bug #1301596 reported by Orpheon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gang Garrison 2
Incomplete
Undecided
Unassigned

Bug Description

Changing keyboard layout in the Options menu does not get stored into an ini file, and hence all changes disappear.

A user came on IRC with this problem, and I can confirm it from own testing as well.
The ControlsController should theoretically do this on destroy, I think this is again a problem of destruction not working properly in room change.

As a temporary hotfix I just told people to use this plugin and to insert their keybindings in it. Not a good permanent solution though:

object_event_add(SplashController, ev_create, 0, '
    global.jump = ord("W");
    global.down = ord("S");
    global.left = ord("A");
    global.right = ord("D");
    global.attack = MOUSE_LEFT;
    global.special = MOUSE_RIGHT;
    global.taunt = ord("F");
    global.chat1 = ord("Z");
    global.chat2 = ord("X");
    global.chat3 = ord("C");
    global.medic = ord("E");
    global.drop = ord("B");
    global.changeTeam = ord("N");
    global.changeClass = ord("M");
    global.showScores = vk_shift;
');

Version: 2.7.2

Revision history for this message
Wareya (wareya) wrote :

Works here... Please supply:
- Precise reproduction steps
- GG2 install location
- gg2.ini if appropriate
- List of files in /Plugins/ directory

Wareya (wareya)
Changed in gg2:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.