- adjustment to mact.

This commit is contained in:
Christoph Oelckers 2019-09-19 20:32:35 +02:00
parent c2e4a6cb64
commit 52edcc7e91
2 changed files with 4 additions and 2 deletions

View file

@ -85,6 +85,7 @@ extern kb_scancode KB_LastScan;
#define KB_GetCh keyGetChar #define KB_GetCh keyGetChar
#define KB_KeyWaiting keyBufferWaiting #define KB_KeyWaiting keyBufferWaiting
#define KB_FlushKeyboardQueue keyFlushChars #define KB_FlushKeyboardQueue keyFlushChars
#define KB_FlushKeyboardQueueScans keyFlushScans
static inline void KB_ClearKeysDown(void) static inline void KB_ClearKeysDown(void)
{ {

View file

@ -29,6 +29,9 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au)
#ifndef mouse_h_ #ifndef mouse_h_
#define mouse_h_ #define mouse_h_
#include "baselayer.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -44,8 +47,6 @@ extern "C" {
#define RIGHT_MOUSE_PRESSED(button) (((button)&RIGHT_MOUSE) != 0) #define RIGHT_MOUSE_PRESSED(button) (((button)&RIGHT_MOUSE) != 0)
#define MIDDLE_MOUSE_PRESSED(button) (((button)&MIDDLE_MOUSE) != 0) #define MIDDLE_MOUSE_PRESSED(button) (((button)&MIDDLE_MOUSE) != 0)
#include "baselayer.h"
static inline bool Mouse_Init(void) static inline bool Mouse_Init(void)
{ {
mouseInit(); mouseInit();