 |
|
|
03-14-2023, 06:37 PM
|
#1
|
Human being with feelings
Join Date: Mar 2022
Posts: 1,263
|
Control+left-click emulates right-click setting doesn't work with MK slicer&80iciomod
I'm on a Mac so ticking "Control+ left-click emulates right click (control key will be unavailable as a modifier)" helps my setup immensely because this causes Reaper's behavior of the control key to match the operating system.
When using scripts though this is not honored. Is there a way to get Control+left-click emulates right-click" to be applied when using scripts? Could it be scripted? Thanks so much.
Last edited by skylar_battles; 03-20-2023 at 08:39 PM.
|
|
|
03-18-2023, 06:12 PM
|
#2
|
Human being with feelings
Join Date: Mar 2022
Posts: 1,263
|
Wrong place to ask for this? I would think it would have to be scripted?
|
|
|
03-18-2023, 06:18 PM
|
#3
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,269
|
It works here in gfx scripts.
(Adding support for that option to the next version of ReaImGui.)
|
|
|
03-19-2023, 05:33 PM
|
#4
|
Human being with feelings
Join Date: Mar 2022
Posts: 1,263
|
What are gfx scripts?
To clarify the script I'm using consistently where I notice it are MK slicer and the MK slicer 80icio mod. Right click is super important in those
Not familiar with ReaImGui but if it's a simple as ticking an box in the ReaImGui prefrences that would be great!
|
|
|
03-19-2023, 06:58 PM
|
#5
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,269
|
Quote:
Originally Posted by skylar_battles
What are gfx scripts?
|
gfx is REAPER's built-in functions for ReaScript GUIs. MK Slicer and 80icio's mod are made with it.
REAPER's right click emulation works by sending a short right click when Ctrl + left mouse button are pressed (+ disables Ctrl). For a brief time, both the left and right buttons are "down". It seems that MK Slicer prioritizes the left click and ignores the right click. The script would need to be changed to prioritize the right click instead.
EDIT: Quick fix for MK Slicer 3.03:
Lines 7451 and 7480:
Code:
if mouseR_Up_status == 1 --[[and not Wave:mouseDown()--]] then
(Not perfect as it still moves the edit cursor from the left click.)
Last edited by cfillion; 03-19-2023 at 07:19 PM.
|
|
|
03-19-2023, 09:50 PM
|
#6
|
Human being with feelings
Join Date: Mar 2022
Posts: 1,263
|
Hey Christian! Thanks for the response!
A little hesitant (and honestly slightly unsure of how) to change the script if it indeed would move the edit cursor as well with this workaround.
Also I'd probably find it confusing for the 80icio mod to not behave this way.
Will the newer ReaImGui make it easier and intuitive to apply this system-wide?
|
|
|
03-20-2023, 09:52 AM
|
#7
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,269
|
Quote:
Originally Posted by skylar_battles
A little hesitant (and honestly slightly unsure of how) to change the script if it indeed would move the edit cursor as well with this workaround.
Also I'd probably find it confusing for the 80icio mod to not behave this way.
|
The best solution would be a proper fix in those scripts.
Quote:
Originally Posted by skylar_battles
Will the newer ReaImGui make it easier and intuitive to apply this system-wide?
|
It will follow the REAPER preferences and behave the same way as gfx.
|
|
|
03-20-2023, 07:42 PM
|
#8
|
Human being with feelings
Join Date: Mar 2022
Posts: 1,263
|
Ok so from what I understand when this is implemented simply synchronizing my packages should enable it to work as desired?
|
|
|
03-20-2023, 07:58 PM
|
#9
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,269
|
In scripts that are made using ReaImGui and that don't prioritize the left mouse button, yes.
For MK slicer and its mod, which are gfx-based and can already support REAPER right click emulation, the mouse button priority needs to be fixed in those scripts.
|
|
|
03-20-2023, 08:40 PM
|
#10
|
Human being with feelings
Join Date: Mar 2022
Posts: 1,263
|
Thanks for your response! I'll send this thread to them both.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 03:37 PM.
|