You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Media Keys Key NEXT and Key PREV do not work on some external keyboards. #4204
could you pls try my cocoa_keymaps branch with mpv --input-test --force-window --idle? since i don't know what your keys map to i am poking a bit in the dark atm, so i added mappings for the two most likely candidates.
does it recognise the keys now, should be REWIND and FORWARD? if they are not recognised does your terminal output something like ----------- handleMediaKey mk_code: X -----------, if yes provide me with the key code of both keys. if they are recognised you can bind them to your desired function.
Activity
Akemi commentedon Mar 4, 2017
what does
mpv --input-test --force-window --idlesay when you press those keys, does it recognise the keys?Bilalh commentedon Mar 4, 2017
Nothing is outputted when using
mpv --input-test --force-window --idleand pressingKey NEXTorKey PREV.Key PLAY gives the following:
Akemi commentedon Mar 4, 2017
could you pls try my cocoa_keymaps branch with
mpv --input-test --force-window --idle? since i don't know what your keys map to i am poking a bit in the dark atm, so i added mappings for the two most likely candidates.does it recognise the keys now, should be
REWINDandFORWARD? if they are not recognised does your terminal output something like----------- handleMediaKey mk_code: X -----------, if yes provide me with the key code of both keys. if they are recognised you can bind them to your desired function.Bilalh commentedon Mar 4, 2017
Success, output shown below.
Looking at the keyboard keys more closely, they are rewind and forwards keys
Using your
cocoa_keymapsbranch versionThanks
Akemi commentedon Mar 4, 2017
you are welcome. i will push the fix to master soonish, probably when i am done with the touch bar PR.
osx: add key mappings for previous and next Media Keys
osx: add key mappings for previous and next Media Keys
osx: add key mappings for previous and next Media Keys