ModPlug Central

OpenMPT => Help and Questions => Topic started by: Saga Musix on July 26, 2009, 11:33:54

Title: Updated keymaps
Post by: Saga Musix on July 26, 2009, 11:33:54
All keymaps that come with OpenMPT (apart from my own) haven't been updated in years. Since 2006, a bunch of new shortcuts have been added, for example in the sample editor (unsign/invert). It would be nice if the creators of the keymaps could post updated keymaps. Or, in case those aren't around on this forum anymore, someone else who uses this keymap could do this. And of course, if you're using your own keymap, it would be nice if you could post those too. :)
Title: Updated keymaps
Post by: LPChip on July 26, 2009, 18:32:32
I'll go through the IT-Keymap when I have some time. :)
Title: Updated keymaps
Post by: Saga Musix on September 29, 2009, 23:59:29
Well, there are at least four new shortcuts in the latest test release (Param Control, Param Control (Smooth), Note Fade, Remove DC Offset). I find it a bit disappointing that there's only one keymap that's being updated frequently (and that's my own keymap - and I'm keeping it up to date note just since I'm a developer!). I believe that quite a lot people are using their own keymaps or have extended the default keymaps by new commands (like those new four commands that got into the latest test release). Really, guys, how about updating that old stuff or submitting new maps?! How about sharing?
Title: Updated keymaps
Post by: Saga Musix on November 27, 2009, 19:27:55
Ok dudes, this is really important. I see that there is no interest in updating keymaps or at least sharing them, I wonder what the hell is wrong with you all?!
The next version of OpenMPT will definitely NEED updated keymaps and I've already tried fixing those that are in the extraKeymaps folder myself, but I can't guarantee that my fixes will work on the target keyboards (f.e. swedish keyboards). So, if anyone here is willing to provide a keymap he or she produced (a little explanation about what style it follows and for what keyboard layout it is made for would be nice), just tell me and I'll send you a special version of OpenMPT which you can use to adjust the keymap to the new shortcuts. If you don't, you won't be able to browse the orderlist by using the cursor keys anymore in the next release. :P

It would be nice if some moderator made this topic sticky btw.

<rant> But yeah, I see that disussing intellectual property is a lot more important on this forum than actually providing something useful for the community. </rant>
Title: Updated keymaps
Post by: Paul Legovitch on November 27, 2009, 20:20:07
+1 for sticky topic.

I have no time atm but will be more than happy to share my keymap next week : french laptop (no numeric keypad).
Title: Updated keymaps
Post by: Saga Musix on November 27, 2009, 20:23:17
Well, the task I'm asking for does not take longer than 15 minutes at max, since it's just about adding a few pre-defined shortcuts and having a look at what useful shortcuts could be added to your own keymap. If you say next week and do it next week, that's perfectly okay. But I simply don't get how people can say that they're too busy for something that small and say that they'll do it "when they've got time", "at some point" or whatever and never do it. It's really just a tiny thing that has to be done.
Title: Updated keymaps
Post by: Paul Legovitch on November 27, 2009, 20:37:45
:D
You're right, it's just that my brain is melting due to work/life you know. :x
I can look at it and be back with it sunday or monday. I don't want to provide a silly keymap either since I may have to look at things I don't usually use in OMPT.
Would it be okay ?
Title: Updated keymaps
Post by: Saga Musix on November 27, 2009, 20:39:39
Sure, as I said, if you say me that you can't do it right now but say that you can deliver it within a week, that's perfectly okay. Not that it's urgent, but the past shows very well that "I'll do it when I got time" just doesn't work.
Title: Updated keymaps
Post by: Paul Legovitch on November 27, 2009, 20:58:41
To be accurate I should have said I have no available brain instead of no time. :?

I understand your frustration, [OT] I'm a bit frustrated myself to find that almost nobody else has written tips in the tip request thread[/OT].
Modplug needs more sharing imho.

I use 1.17.03.02, so do you have to send me a special version of OpenMPT ?
Title: Updated keymaps
Post by: Saga Musix on November 27, 2009, 21:11:08
Yes, there are some significant changes (i.e. some very important new shortcuts that replace some shortcuts that were static before), so they definitely have to be mapped. I'll put up a link for the test version later.
Title: Updated keymaps
Post by: LPChip on November 27, 2009, 21:31:11
Still haven't had time :(

topic stickied btw...
Title: Updated keymaps
Post by: bvanoudtshoorn on November 28, 2009, 01:39:42
I'll post mine once I've cleaned it up a bit. The two advantages of mine are that it plays well with Windows 7, and that it plays well with Apple keyboards, which don't have an [Insert] key.
Title: Updated keymaps
Post by: Saga Musix on November 28, 2009, 10:29:31
Well uh, do we need "Ready for Win7" stickers for our keymaps just like they exist for monitors, computers and other gear now? :nuts: I, for once, didn't need to make mine "play well" with Win7 :lol:
Title: Updated keymaps
Post by: Saga Musix on November 28, 2009, 14:52:13
The necessity of upgrading every single keymap file has luckily been removed/fixed, but since I only have a German keyboard here, I cannot tell for sure that the orderlist keys work correctly in all cases.

For those who want to upgrade their keymaps (and get them into the official package), please send me a PM and I'll give you more detailed instructions on what you have to do.
Title: Updated keymaps
Post by: Rakib on November 28, 2009, 17:16:08
I know you have asked it about this before, but how do you want it?
Since I don't know notes I have put all the notes in a octave on a single row, making it possible to have 3 octaves ready all the time.

For the other notes I have put where it was place, but I can go trough them and put them in a more logical place and send it to you.

Have norwegian keyboad.
Title: Updated keymaps
Post by: Saga Musix on November 28, 2009, 17:46:31
QuoteI know you have asked it about this before, but how do you want it?
Since I don't know notes I have put all the notes in a octave on a single row, making it possible to have 3 octaves ready all the time.
That is totally up to you. What you are referring to is a chromatic keyboard setup, which is the MPT default (at least if the QWERTY row is the lowest octave). So your keyboard layout could be labeled "NO Rakib (MPT)" or something like that. People have different habits and I know many who don't like this chromatic setup, so it's always good to have as many key maps as possible.
Title: Updated keymaps
Post by: Saga Musix on December 21, 2009, 20:58:43
Soooo, LPChip? Barry? :P
Title: Updated keymaps
Post by: Saga Musix on September 08, 2010, 21:18:22
I will just put this here so it won't get lost, and everyone can use this information for extending their own outdated keymaps.




A few words about how to upgrade your keymap and make it future-proof for OpenMPT 1.18+:

If you're using an old keymap from the OpenMPT 1.17 era, the keys for the order list should automatically be added (they were not customizable in OpenMPT 1.17). If everything went alright, the old orderlist shortcuts should still work (if they don't - tell me!). You should be able to change all of them from the keyboard manager now.

Please also have a look at those (more or less) recent shortcuts and find a key combination for them. Suggested shortcuts are annotated.

Global Keys
Pattern Editor - General
Pattern Editor - Note Col
Sample Editor
Instrument Editor Editor
Envelope Editor
Plugin Editor
That's all. Have a nice day and thanks for helping to improve OpenMPT! :)
Title: Re: Updated keymaps
Post by: Saga Musix on March 09, 2011, 12:43:39
It's that time of year again. We're close to a release and the keymaps need to be updated. Most of those that ship with OpenMPT still haven't been touched in years, I've tried to add some new shortcuts by myself (please check the current versions (http://modplug.svn.sourceforge.net/viewvc/modplug/trunk/OpenMPT/packageTemplate/extraKeymaps/) if one of your keymaps is shipped with OpenMPT) but that is of course not enough. Please have a look at the post above and update your keymap if you haven't done so already. Here's also a list of shortcuts that will be new in OpenMPT 1.19, so please grab the latest test version (http://sagagames.de/stuff/mptrack.exe) and update your keymaps with those new shortcuts!
These are all new shortcuts, together with suggested default shortcuts, if there are any (some shortcuts don't have to be assigned by default IMO, so I left them blank):

Global keys

Pattern Editor - Orderlist

Pattern Editor - General

Sample Editor

Of course and especially with older keymaps, I'd appreciate if you went through all shortcuts (it's really not that many) and check if there are any unassigned shortcuts in your keymap that would make sense to be assigned.

Also, even if none of your keymaps are included in the OpenMPT package, there's still a way how you can help:
Title: Re: Updated keymaps
Post by: Saga Musix on March 19, 2011, 14:06:54
Two new shortcuts, Select beat and Select measure have been added to the pattern editor in the latest test version (http://sagagames.de/stuff/mptrack.exe) . See above.
Title: Re: Updated keymaps
Post by: Harbinger on March 22, 2011, 20:33:34
You have some interesting additions. Those last four, can you describe the Select Beat and Sample Fade functions? Are these new functions?
Title: Re: Updated keymaps
Post by: Saga Musix on March 22, 2011, 21:06:27
Select beat / measure extends the current selection to the beginning and end of the beat(s) / measure(s) it is in. So if I made a selection from row 3 to 5 and have 4 rows per beat, the selection would be extended to rows 0-7.
Quick fade is a shortcut for fading in and fading out samples. If the current selection starts at the beginning of a sample, a fade from 0% to 100% is automatically applied. If the selection ends at the end of the sample, it is faded out. Since no amplification dialog is called, it's called "quick" fade. It really speeds up those two actions if you use them a lot (shamelessly copied the idea from Wavelab :P).
Title: Re: Updated keymaps
Post by: Saga Musix on November 13, 2016, 18:08:38
Since a few years now, new shortcuts were added automatically to existing key maps, rendering this topic and its instructions kinda obsolete.

However, there has been one big deficiency in OpenMPT that has bothered me for years, especially since it was not there in the ole ModPlug Tracker: Note mappings are not layout-independent. What does that mean? Imagine you have a German (QWERTZ) or French (AZERTY) layout. The keymap saves e.g. "Base octave C is mapped to key Q". That works in most (ISO and US) layouts, however on the French keyboard, the letter Q is in a completely different place. In the case of the German keyboard, Z and Y are swapped, so the two notes mapped to those two keys are swapped as well. Things like this are why OpenMPT ships with several key maps which pretty much only differ in their note mappings.

I have now found a way to kinda return to the way ModPlug Tracker did this: In addition to "virtual key codes", which OpenMPT used until now, it also stores a "scan code" for note keys, which tells it where on the keyboard this key is located. This way, note keys are completely independent of how the letters are arranged on the keyboard. The default key map now has its keys stored as scan codes, but I cannot do this for the user-provided key maps, because how they should be interpreted depends on the original layout they were designed for.

So once again I am asking everyone who contributed a key map to grab r7363 or later from https://buildbot.openmpt.org/builds/ (it's still compiling, so it should be up in a few hours), load your keymap and then simply re-save it to a file, and then post the new file here so that I can replace it. This way, the note keys in your file will also work for other people who use a different layout.
Thanks!
Title: Re: Updated keymaps
Post by: Fler0301 on November 18, 2016, 22:42:29
Hello, Saga Musix! Here my key file with  Cyrillic+Latin settings :)
Title: Re: Updated keymaps
Post by: Saga Musix on November 19, 2016, 18:17:54
Thanks, I'll look into packaging it into OpenMPT 1.27.
So I understand that switching between Windows keyboard layouts still works as expected? I just want to be absolutely sure that multi-layout users are still as well-supported as in previous versions. Especially if you start OpenMPT with e.g. cyrillic layout the one time but have latin layout enabled the other time.
Title: Re: Updated keymaps
Post by: Fler0301 on November 19, 2016, 22:37:22
Yes, it is absolutely correct for me. I have tested all keys on the different keyboard layouts and found no problems on version r7377.

Thank you for your great job! You are really making our tracker the best!
Title: Re: Updated keymaps
Post by: Rakib on November 21, 2016, 08:05:45
Norwegian keymap
Title: Re: Updated keymaps
Post by: Saga Musix on November 21, 2016, 13:40:22
Thank you both!
Title: Re: Updated keymaps
Post by: LPChip on November 22, 2016, 20:38:32
LPChip - Impulse Tracker.mkb
Title: Re: Updated keymaps
Post by: Saga Musix on November 23, 2016, 01:30:46
Thanks for the update. Can you please check the instrument section? It already had some weird duplicate keys (due to an old bug) in the version that ships with OpenMPT, but now two keys are assigned thrice there:
9:1920:2:81:1 //Load Envelope: Ctrl+Q (KeyDown)
9:1921:2:81:1 //Save Envelope: Ctrl+Q (KeyDown)
9:1921:2:65:1 //Save Envelope: Ctrl+A (KeyDown)
9:1837:2:65:1 //Zoom In: Ctrl+A (KeyDown)
9:1837:2:81:1 //Zoom In: Ctrl+Q (KeyDown)
9:1838:2:65:1 //Zoom Out: Ctrl+A (KeyDown)
Title: Re: Updated keymaps
Post by: LPChip on November 23, 2016, 19:00:23
Interesting. I never set those. But I'll edit them and upload a second instance.
Title: Re: Updated keymaps
Post by: Saga Musix on November 23, 2016, 20:04:57
If you didn't mean to edit any of them, I can just remove the shortcuts, in which case the defaults will be applied anyway.
Title: Re: Updated keymaps
Post by: LPChip on November 29, 2016, 14:24:48
I hadn't had a chance to update the keymaps, but yeah, I don't use them, so feel free to remove them so the defaults are used.