View Issue Details

IDProjectCategoryView StatusLast Update
0004930Spring engineLinuxpublic2015-08-17 04:23
Reporterotyugh Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version100.0 
Summary0004930: French keyboard and shortcuts
DescriptionI don't know how to fix your keyboard layout - it sounds like an issue between SDL2 (which Spring relies on for input) and your keyboard drivers, rather than a BA issue. So I suggest reporting it at https://www.springrts.com/mantis, with an infolog to show the output of /keydebug when you press ctrl,1,2,3... alone and then ctrl+1,ctrl+2,etc.

There is the subject where they inted me to repport there : https://springrts.com/phpbb/viewtopic.php?f=20&t=33592&p=570649#p570649
Steps To ReproduceSo yeah, basically I can't use groups, I'm using a french keyboard usual layout.
using /keydebug, ctrl pushed on or not.
1 => &
2 => 0x0E9
3 => "
4 => '
5 => (
6 => -
7 => 0x0E8
8 => _
9 => 0x0E7
0 => 0x0E0
TagsNo tags attached.
Attached Files
uikeys.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

otyugh

2015-08-16 01:48

reporter   ~0015065

Actual workaround see attached file ; to drop in the main folder.

I think the developer could simply add theses keys as alternative to the one already set to save french keyboard user some trouble. Thanks :)

silentwings

2015-08-16 12:14

reporter   ~0015066

Last edited: 2015-08-16 12:15

Not without breaking keybinds using those keys for other keyboard types.

But the fact that manually using "bind XXX" works for you when the default keybinds (which should be identical) somehow fail suggests to me that this is fixable engine bug.

Jools

2015-08-17 00:18

reporter   ~0015067

The bug happens because the key mappings differ between SDL 1.2 and SDL 2.0. When SDL 2.0 was introduced we had these bugs for many more common keys, but these ones were manually remapped to new code values. There are quite a few keyboard layouts out there, so I think the uikeys solution is a quite flexible one.

otyugh

2015-08-17 04:23

reporter   ~0015068

The strange part, and I might stop spamming here, is that while I had to add something in the uikeys to change the "[1234567890]+Any" to "[&é"'(-è_çà)]+Any", for getting the capacity to make group units...
I had nothing to change to "select" theses groups, which surprises me, because logically I should have had added something to the uikeys to get this working. But there it just works.

Does it makes any sense ? ><

Issue History

Date Modified Username Field Change
2015-08-11 14:04 otyugh New Issue
2015-08-16 01:48 otyugh Note Added: 0015065
2015-08-16 01:48 otyugh File Added: uikeys.txt
2015-08-16 12:14 silentwings Note Added: 0015066
2015-08-16 12:15 silentwings Note Edited: 0015066
2015-08-17 00:18 Jools Note Added: 0015067
2015-08-17 04:23 otyugh Note Added: 0015068