diff options
author | der richter <der.richter@gmx.de> | 2024-03-12 20:25:23 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-03-14 23:33:15 +0100 |
commit | 3ef3bbf93df9cd42e6679c8875388a7e66dc7b46 (patch) | |
tree | 0d1b80453601db97e951d253bf37e7cc81082778 /osdep/mac/remote_command_center.swift | |
parent | 5482eecb8afe686101ce386184cafde00798606e (diff) | |
download | mpv-3ef3bbf93df9cd42e6679c8875388a7e66dc7b46.tar.bz2 mpv-3ef3bbf93df9cd42e6679c8875388a7e66dc7b46.tar.xz |
mac/event: move key event handling to input helper and optimise it
Diffstat (limited to 'osdep/mac/remote_command_center.swift')
-rw-r--r-- | osdep/mac/remote_command_center.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/mac/remote_command_center.swift b/osdep/mac/remote_command_center.swift index 0bfced2422..6dd02e0ada 100644 --- a/osdep/mac/remote_command_center.swift +++ b/osdep/mac/remote_command_center.swift @@ -155,7 +155,7 @@ class RemoteCommandCenter: NSObject { self.configs[event.command]?.state = state } - EventsResponder.sharedInstance().handleMPKey(config.key, withMask: Int32(state)) + EventsResponder.sharedInstance().inputHelper.put(key: config.key | Int32(state)) return .success } |