Camilla Löwy
7b60753aeb
Cocoa: Fix segfault querying joystick elements
...
It is reportedly possible for IOHIDDeviceCopyMatchingElements to return
NULL on macOS 13 if the application lacks input monitoring permissions.
This commit only prevents the segfault. More work will be needed to
correctly handle this situation, including Game Controller support.
Related to #2320
Closes #2321
(cherry picked from commit 2c1d31009f )
2023-12-12 18:48:53 +01:00
..
2023-11-27 17:01:35 +01:00
2023-11-16 22:50:41 +01:00
2021-08-03 16:01:03 +02:00
2023-12-12 18:48:53 +01:00
2022-05-06 19:34:05 +02:00
2022-02-15 21:25:42 +01:00
2019-05-27 16:33:22 +02:00
2023-12-12 15:58:33 +01:00
2023-12-07 18:04:08 +01:00
2023-12-12 16:04:57 +01:00
2021-12-24 01:51:24 +01:00
2023-11-27 17:01:35 +01:00
2016-02-02 06:00:18 +01:00
2022-02-15 21:20:28 +01:00
2023-12-07 18:04:48 +01:00
2022-10-31 21:57:21 +01:00
2023-07-19 17:23:25 +02:00
2023-12-07 18:04:48 +01:00
2023-07-19 17:23:25 +02:00
2023-11-28 22:17:40 +01:00
2023-11-28 22:17:40 +01:00
2021-08-27 17:13:12 +02:00
2021-08-27 17:13:12 +02:00
2022-06-09 19:41:56 +02:00
2022-02-15 21:25:42 +01:00
2023-12-07 18:04:48 +01:00
2019-05-27 16:33:22 +02:00
2019-05-27 16:33:22 +02:00
2019-11-05 17:59:15 +01:00
2019-05-27 16:33:22 +02:00
2019-11-05 17:59:15 +01:00
2022-06-10 17:11:01 +02:00
2022-03-13 16:43:58 +01:00
2021-10-28 12:14:58 +02:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:14:58 +02:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:14:58 +02:00
2022-03-13 16:43:58 +01:00
2023-12-07 18:04:48 +01:00
2021-10-28 12:14:58 +02:00
2022-06-10 17:11:13 +02:00
2023-12-07 18:04:48 +01:00
2021-08-03 16:01:03 +02:00
2022-03-20 16:00:34 +01:00
2022-10-31 21:29:42 +01:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:24:38 +02:00
2023-11-28 22:15:23 +01:00
2022-06-10 17:11:01 +02:00
2023-11-30 21:31:58 +01:00
2023-03-28 17:43:39 +02:00
2023-11-30 21:31:58 +01:00
2023-11-30 21:34:16 +01:00
2022-07-12 20:29:22 +02:00
2020-06-30 17:09:55 +02:00
2022-07-12 20:29:22 +02:00
2022-10-31 21:48:04 +01:00
2022-02-15 21:08:17 +01:00
2022-02-15 21:08:17 +01:00