Commit b84dba57 authored by Sam Lantinga's avatar Sam Lantinga

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 ;).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40908
parent 3eaf8adb
This diff is collapsed.
......@@ -49,14 +49,6 @@ struct SDL_PrivateVideoData {
/* 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 @@ struct SDL_PrivateVideoData {
#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 */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment