Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 10-24-2016, 01:45 PM   #1
hscottaudio
Human being with feelings
 
Join Date: Jul 2016
Posts: 14
Default Mac and Windows interpreting .ReaperKeyMap files differently

There are discrepancies in the results of importing the same .ReaperKeyMap file in Windows

Results in shortcuts made in Reaper in Windows 10 which are then imported into Mac OS Reaper becoming unusable, Shortcuts are mis/re-interpreted with modifiers added all over the place also.

Repro Steps:

(keymap file attached)

1. Import this config file in Windows Reaper
2. Observe shorcuts
3. Import this config file in Mac OS Reaper
4. Observe shortcuts are now mostly scrambled

Hopefully a quick fix
Attached Files
File Type: reaperkeymap Test_Keymap.ReaperKeyMap (11.0 KB, 24 views)
hscottaudio is offline   Reply With Quote
Old 10-24-2016, 11:32 PM   #2
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 3,479
Default

I experienced that same issue long time ago, when i used Reaper on both Windows and Mac.
Pretty nasty
vanhaze is online now   Reply With Quote
Old 10-25-2016, 12:00 AM   #3
hscottaudio
Human being with feelings
 
Join Date: Jul 2016
Posts: 14
Default

Quote:
Originally Posted by vanhaze View Post
I experienced that same issue long time ago, when i used Reaper on both Windows and Mac.
Pretty nasty
Ok so that's 2 confirmed repros.
hscottaudio is offline   Reply With Quote
Old 10-25-2016, 08:04 AM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 10,241
Default

Confirmed, some keys are not the same here:
  • '
  • ;
  • [
  • ]
  • -
  • ,
  • .

(any others?)

Not a straightforward thing to fix, but I'll look into it.

It's also worth noting that these keys will not map the same on Windows with non-US keyboards...
Justin is online now   Reply With Quote
Old 10-25-2016, 08:30 AM   #5
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 18,876
Default

Quote:
Originally Posted by Justin View Post
It's also worth noting that these keys will not map the same on Windows with non-US keyboards...
I noticed this as well, yeah (non-US keyboard here).

What could be the solution for this?
EvilDragon is online now   Reply With Quote
Old 10-25-2016, 09:27 AM   #6
hscottaudio
Human being with feelings
 
Join Date: Jul 2016
Posts: 14
Default

Quote:
Originally Posted by Justin View Post
Confirmed, some keys are not the same here:
  • '
  • ;
  • [
  • ]
  • -
  • ,
  • .

(any others?)

Not a straightforward thing to fix, but I'll look into it.

It's also worth noting that these keys will not map the same on Windows with non-US keyboards...
Is there anything I can do to be useful? Don't mind grinding out a spreadsheet of values for what each key's value is in Mac and windows.

Speaking of which what are those values? Is there some sort of protocol for these values (those found in the .reaperkeymap files), I tired to decipher it in notepad++, seemed like each key had a numbered value, not sure about modifiers though.

Harv
hscottaudio is offline   Reply With Quote
Old 10-25-2016, 09:54 AM   #7
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 18,876
Default

I wonder if instead of keycodes which might be different between different keyboard codepages, why not use Unicode designation for a particular symbol, Justin?
EvilDragon is online now   Reply With Quote
Old 10-25-2016, 01:53 PM   #8
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 10,241
Default

Quote:
Originally Posted by EvilDragon View Post
I wonder if instead of keycodes which might be different between different keyboard codepages, why not use Unicode designation for a particular symbol, Justin?
Unfortunately it's a lot more complex than that, due to the way keyboards work on different OSes (there are various character codes, virtual key codes, etc which all can mean different things). If only it were just unicode characters... boo.

Anyway I think I have it worked out where the mac version can convert the Windows keys, and vice versa. For the pre-release builds that get this, it will warn when it's doing the conversion, to be on the safe side.
Justin is online now   Reply With Quote
Old 10-25-2016, 01:54 PM   #9
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 10,241
Default

Quote:
Originally Posted by vanhaze View Post
Pretty nasty
Nasty eh?
Justin is online now   Reply With Quote
Old 10-26-2016, 12:17 AM   #10
hscottaudio
Human being with feelings
 
Join Date: Jul 2016
Posts: 14
Default

Quote:
Originally Posted by Justin View Post
Unfortunately it's a lot more complex than that, due to the way keyboards work on different OSes (there are various character codes, virtual key codes, etc which all can mean different things). If only it were just unicode characters... boo.

Anyway I think I have it worked out where the mac version can convert the Windows keys, and vice versa. For the pre-release builds that get this, it will warn when it's doing the conversion, to be on the safe side.
Cheers Justin!

Will be sure to try it out in the pre-realease builds
hscottaudio is offline   Reply With Quote
Old 10-26-2016, 08:12 AM   #11
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 10,241
Default

5.28pre5 in the pre-release forum should improve this!
Justin is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.