mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
Carbon is no good on 10.5 and later on 64-bit. Github user dportabella found a workaround in Cocoa[1], and I added code to make it handle the events from the dock, like the carbon version did. [1] https://github.com/signal11/hidapi/issues/14
18 lines
266 B
C
18 lines
266 B
C
/*******************************
|
|
Mac support for HID Test GUI
|
|
|
|
Alan Ott
|
|
Signal 11 Software
|
|
|
|
*******************************/
|
|
|
|
#ifndef MAC_SUPPORT_H__
|
|
#define MAC_SUPPORT_H__
|
|
|
|
extern "C" {
|
|
void init_apple_message_system();
|
|
void check_apple_events();
|
|
}
|
|
|
|
#endif
|