Mercurial > sdl-ios-xcode
diff src/video/bwindow/SDL_lowvideo.h @ 907:3bd4d7a1ee04
Date: Mon, 21 Jun 2004 16:52:47 +0200
From: Marcin Konicki
Subject: SDL 1.2.7 patch for BeOS (new input handling code)
I rewrote input handling code for BeOS. It should be faster now (i got
report that mouse is faster, keyboard should be too, but it's harder to
observe).
I'll try to add mouse wheel support too, soon.
Stefano Ceccherini (a.k.a Jack Burton) helped me beautify code (working
version was less clean), and it was he who asked me to write this thing ;).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 18 Jul 2004 19:36:06 +0000 |
parents | b8d311d90021 |
children | c9b51268668f |
line wrap: on
line diff
--- a/src/video/bwindow/SDL_lowvideo.h Sun Jul 18 19:14:33 2004 +0000 +++ b/src/video/bwindow/SDL_lowvideo.h Sun Jul 18 19:36:06 2004 +0000 @@ -49,14 +49,6 @@ /* A completely clear cursor */ WMcursor *BlankCursor; - /* Mouse state variables */ - uint32 last_buttons; - BPoint last_point; - - /* Keyboard state variables */ - int key_flip; - struct key_info keyinfo[2]; - SDL_Overlay *overlay; }; /* Old variable names */ @@ -65,10 +57,6 @@ #define SDL_nummodes (_this->hidden->SDL_nummodes) #define SDL_modelist (_this->hidden->SDL_modelist) #define SDL_BlankCursor (_this->hidden->BlankCursor) -#define last_buttons (_this->hidden->last_buttons) -#define last_point (_this->hidden->last_point) -#define key_flip (_this->hidden->key_flip) -#define keyinfo (_this->hidden->keyinfo) #define current_overlay (_this->hidden->overlay) #endif /* _SDL_lowvideo_h */