Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing Cmd-ScrollLock puts monitors into mirror mode #1533

Open
1 task done
benze opened this issue Mar 22, 2024 · 3 comments
Open
1 task done

Pressing Cmd-ScrollLock puts monitors into mirror mode #1533

benze opened this issue Mar 22, 2024 · 3 comments
Labels
Type: Bug Issue is a bug (e.g. Crash, …)

Comments

@benze
Copy link

benze commented Mar 22, 2024

Before opening the issue, have you...?

  • Searched for existing issues

Question

I have 2 external monitors connected to my M1 Macbook Pro as extended desktop.

When I run MonitorControl 4.2.0 and press Cmd-ScrollLock on my external keyboard, my monitors switch into Mirror'ed display mode. So I end up with 2 monitors which mirror the primary screen. To get out of mirror mode, Cmd-ScrollLock will put it back in Extended Desktop mode.

I've looked through configuration options to see if I can disable this somehow, but do not see anything.

  1. Is this a setting that is configured by MonitorControl
  2. Is there a way to disable/remap this key configuration

I am not convinced that it is MonitorControl which is causing the displays to switch to Mirror mode, but if I quit MonitorControl, then pressing Cmd-ScrollLock does nothing.

Any suggestions would be appreciated.

Thanks,

@waydabber
Copy link
Member

Interesting. Normally Command+F1 is used to toggle mirror on the Mac. It might be that somehow this PC keyboard maps that to this? I'll flag it as a bug if it is indeed MonitorControl specific.

@waydabber waydabber added the Type: Bug Issue is a bug (e.g. Crash, …) label Jun 4, 2024
@benze
Copy link
Author

benze commented Jun 5, 2024

@waydabber I haven't been able to find any other mappings that are defined elsewhere. My inclination is to question if MonitorControl is somehow intercepting this keyboard shortcut and misinterpreting it as something else?

I'm not convinced that it is a MonitorControl issue, other than quitting MC stops this issue. And restarting MC reactivates it again. So it seems to somehow be related.

I've tried using Karabiner - EventViewer to double check the key combination, but the Windows-ScrLk is captured as Cmd-ScrollLock (see below)

[
  {
    "type": "down",
    "name": {"key_code":"left_command"},
    "usagePage": "7 (0x0007)",
    "usage": "227 (0x00e3)",
    "misc": "flags left_command"
  },
  {
    "type": "down",
    "name": {"key_code":"scroll_lock"},
    "usagePage": "7 (0x0007)",
    "usage": "71 (0x0047)",
    "misc": "flags left_command"
  },
  {
    "type": "up",
    "name": {"key_code":"scroll_lock"},
    "usagePage": "7 (0x0007)",
    "usage": "71 (0x0047)",
    "misc": "flags left_command"
  },
  {
    "type": "up",
    "name": {"key_code":"left_command"},
    "usagePage": "7 (0x0007)",
    "usage": "227 (0x00e3)",
    "misc": ""
  }
]

Let me know if I can provide any additional information.
Thanks,

Eric

@waydabber
Copy link
Member

This might be a MonitorControl issue indeed. MonitorControl uses https://github.com/nhurden/MediaKeyTap to capture native media keys - so that's where the problem probably lies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue is a bug (e.g. Crash, …)
Projects
None yet
Development

No branches or pull requests

2 participants