Files
archived-hidapi/testgui/mac_support.h
Alan Ott bab22b7ac1 Convert to Cocoa for event handling on the Test GUI on Mac
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
2011-09-13 10:48:39 +08:00

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