mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
- adjustment to mact.
This commit is contained in:
parent
c2e4a6cb64
commit
52edcc7e91
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue