mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +00:00
23 lines
400 B
C
23 lines
400 B
C
/*
|
|
*
|
|
* (c) 2004,2005 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#ifndef __MACOS_EVENTS_H__
|
|
#define __MACOS_EVENTS_H__
|
|
|
|
#include <macos/traps.h>
|
|
|
|
typedef u_int32_t KeyMap[4];
|
|
|
|
#ifdef __mc68000__
|
|
static inline void GetKeys(KeyMap theKeys)
|
|
{
|
|
asm("move.l %0, -(%%sp)\n"
|
|
Trap(_GetKeys)
|
|
:: "g" (theKeys) : "%%d0", UNPRESERVED_REGS );
|
|
}
|
|
#endif /* __mc68000__ */
|
|
#endif /* __MACOS_EVENTS_H__ */
|