nanahi
f3a00ea131
various: handle numpad add/subtract/multiply/divide keycodes
2024-08-11 15:08:42 +02:00
der richter
8f1189341f
mac: code cleanup and consistency changes, fix linting issues
2024-04-28 20:21:18 +02:00
der richter
2e03e0305c
mac/input: add support for dead key reporting
...
dead keys like tilde and accents were not reported because they returned
an empty string from the NSEvent.
try to retrieve dead key with alternative Carbon API when an empty key
is reported.
2024-04-24 20:35:53 +02:00
der richter
70eba5e831
mac/apphub: fix opening several files at once via Finder or App icon
...
when dropping more than one file on the App icon or opening via Finder
the open(urls:) event might not pass all files at once in the array, but
may consecutivly call open(urls:) for each of the files or batched in
several arrays.
to fix this append any file passed to the open(urls:) event within 0.1
seconds of each other to the current playlist. the first event uses the
default behaviour.
2024-04-04 19:39:27 +02:00
der richter
ba45f2004f
mac: cleanup swift bridge header imports and unify them
2024-03-29 14:20:40 +01:00
der richter
e71e340b77
mac: remove now unnecessary objective-c forwarding
2024-03-29 14:20:40 +01:00
der richter
204e3f0df6
mac/option: rename option structs to properly represent their content
...
also optimise option cache setup.
2024-03-21 18:33:15 +01:00
der richter
dc5059d027
mac/option: move option functionality from mpv helper to option helper
...
delete now empty mpv helper
2024-03-21 18:33:15 +01:00
der richter
2a36ed9abd
mac/input: optimise scroll wheel event handling
2024-03-16 15:29:27 +01:00
der richter
a4eddf742d
mac/input: move scroll wheel event handling into input helper
2024-03-16 15:29:27 +01:00
der richter
9a4c673dd7
mac/input: optimise mouse movement enabled check
2024-03-16 15:29:27 +01:00
der richter
53722a4082
mac/input: fix switched mouse forward and back button
2024-03-16 15:29:27 +01:00
der richter
db4eac140d
mac/input: move mouse event handling into input helper
2024-03-16 15:29:27 +01:00
der richter
474e213f52
mac/input: add missing special keys
2024-03-14 23:33:15 +01:00
der richter
556cb7d6a4
mac/input: add simplified mp_keymap init
2024-03-14 23:33:15 +01:00
der richter
4d8ea338de
mac/input: remove wrongly mapped modifier keys
2024-03-14 23:33:15 +01:00
der richter
3ef3bbf93d
mac/event: move key event handling to input helper and optimise it
2024-03-14 23:33:15 +01:00
der richter
5482eecb8a
mac/input: define AltGr mask as static NSEvent.ModifierFlags variable
...
this makes it possible to properly test for those modifiers in a proper
swift like way.
2024-03-14 23:33:15 +01:00
der richter
18fb71498b
mac/events: remove redundant functions and optimise input helper usage
...
some redundant functions that jump through hoops.
2024-03-14 23:33:15 +01:00
der richter
055e9cd93e
mac/helper: move input ctx related functionality into new input helper
...
also make functions thread safe.
2024-03-14 23:33:15 +01:00
der richter
f3e5fea4f5
mac/events: move input ctx related functionality into new input helper
...
preparation for mac/events cleanup and single responsibility principle.
all functions are thread safe.
2024-03-14 23:33:15 +01:00