ahlstromcj / sequencer64

A major reboot of Seq24. Current release 0.97.0 (2021-05-13), native JACK MIDI, Song recording, playlists, and a Windows/Qt version. For fresher code, see the Seq66 project. Note that trigger and mute-group-in-MIDI-file formats have evolved! Back up your work!
GNU Affero General Public License v3.0
237 stars 28 forks source link

Midi mute group learn fails with quotedbl, currency, slash, parentleft and semicolon (Finnish keyboard layout) #156

Open layk opened 6 years ago

layk commented 6 years ago

Hi Learnig a mute group fails with quotedbl, currency, slash and parentleft doing Insert + key in question. Below is mute group section from sequencer64.rc and attached image from File->Options->Keyboard->Mute-group slots [mute-group]

quotedbl: Key 'at' (code = 64) is not a configured mute-group key. To add it, see File/Options menu or the 'rc' file. Currency: Key 'dollar' (code = 36) is not a configured mute-group key. To add it, see File/Options menu or the 'rc' file. Slash: Key 'asciicircum' (code = 94) is not a configured mute-group key. To add it, see File/Options menu or the 'rc' file. Parentleft: Key 'asterisk' (code = 42) is not a configured mute-group key. To add it, see File/Options menu or the 'rc' file. Semicolon: Key 'less' (code = 60) is not a configured mute-group key. To add it, see File/Options menu or the 'rc' file.

Seems like those groups are not mapped correctly even if the sequencer64.rc file and File->options indicates to characters in question.

Way to reproduce: Open sequencer64 , add sequences, arm sequences and try to make a mute group with Insert + " or ¤ or / or ( or ;

Code is with ./bootstrap -er -rm on qt5_reconcile commit 7d316be008e1e219d33d2d1442958525981da198

System Fedora 27 with Finnish keyboard layout. Using gnome desktop but i think this will happen on fluxbox also.

Key # group # Key name

33 0 # exclam 34 1 # quotedbl 35 2 # numbersign 37 4 # percent 38 5 # ampersand 40 7 # parenleft 47 6 # slash 59 31 # semicolon 65 16 # A 66 28 # B 67 26 # C 68 18 # D 69 10 # E 70 19 # F 71 20 # G 72 21 # H 73 15 # I 74 22 # J 75 23 # K 77 30 # M 78 29 # N 81 8 # Q 82 11 # R 83 17 # S 84 12 # T 85 14 # U 86 27 # V 87 9 # W 88 25 # X 89 13 # Y 90 24 # Z 164 3 # currency screenshot from 2018-07-25 08-25-30

ahlstromcj commented 6 years ago

One thing to note is that, once you turn on group-learn mode, the next keystroke is automatically SHIFTed. If this is an issue for other kinds of keyboards, I can add an "rc" option to not automatically shift. A potential issue with that is that Shift_L and Shift_R then need to be entered into that GUI you show above.

Let me know what you think! Thanks!

layk commented 6 years ago

Hmmh. I don't see if that helps since for example exclamation (!) over keybad 1 works. Sequencer64.rc has the only changed value 164 3 # currency mentioned but when i try to use it ie. Insert + currency sign over keybad 4 i get "Key 'dollar' (code = 36) is not a configured mute-group key. To add it, see File/Options menu or the 'rc' file."

To me it seems that Insert + " or ¤ or / or ( or ; does not respect the configure options in sequencer64.rc or File->Options->Keyboard.

layk commented 4 years ago

Hi Just compiled the latest from midi_control branch and this is happening with (-er -rm). I was debugging this a while back but don't remember that much about it anymore. Pointed to my finnish keyboard layout(might happen with swedish, german etc). For example number two on top row has 2," and @ signs. Currency i think has 4,¤ and $ signs. Let me know if i can help on this.