Commit Graph

68 Commits

Author SHA1 Message Date
Elias Naur 46967b394c Converted win32 specific native source from C++->C (removes the strange debug flag behaviour exhibited by SourceLimitTest.java) 2004-12-09 15:36:13 +00:00
Brian Matzon 3ae8c81129 only generate events if mouse is actually alive 2004-11-27 10:17:15 +00:00
Elias Naur 95e7c3d3ff Win32 part of absolute mouse coordinates 2004-11-12 15:32:20 +00:00
Elias Naur e8f91ccefc Reset event queue on mouse grab 2004-11-08 12:10:26 +00:00
Elias Naur 6351f2efa3 Win32Display 2004-11-02 13:15:59 +00:00
Elias Naur 4c631207c5 Fix win32 mouse event deltas too 2004-09-27 13:43:34 +00:00
Elias Naur 8da3656540 Fix native mouse issues 2004-09-22 17:54:27 +00:00
Elias Naur 38ebcf5fb3 Updated win32 to report Mouse deltas 2004-09-22 15:06:27 +00:00
Elias Naur 7c949a1325 Fix comment in Mouse.cpp 2004-07-26 18:59:40 +00:00
Elias Naur 0aea2bccd0 Simplify cursor position in Mouse even more - get rid of hairy window rect code 2004-07-26 18:57:18 +00:00
Elias Naur f89c212848 Simplify Mouse cursor positions and replace display_hwnd global variable with getCurrentHWND() (Win32) 2004-07-26 17:01:56 +00:00
Elias Naur 1aee4598a9 Win32 part of ByteBuffer handles for Pbuffer and Cursor 2004-07-25 14:51:28 +00:00
Elias Naur 2951ef02cc Win32: Mouse native cursor fixes 2004-07-15 16:07:13 +00:00
Elias Naur d9ea16fbf7 Win32: Mouse native cursor fixes 2004-07-06 09:13:35 +00:00
Elias Naur 19b7f16291 Win32: Make pbuffer creation independent of display context 2004-07-06 07:50:33 +00:00
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Elias Naur 7bd59ed27d Split global DirectInput interface into 3 interfaces in Mouse, Keyboard and Controller 2004-05-05 09:53:53 +00:00
Elias Naur 054e1f9f29 Attempt fix for out of focus mouse bug in win32 2004-05-04 18:47:47 +00:00
Brian Matzon a9506354ee fixed mouse issues, setGrabbed & native cursor now works (afaik ;)) 2004-04-12 14:46:18 +00:00
Brian Matzon 84eae4c6f6 removed restriction about native cursors, and fixed mouse not showing on setNativeCursor(null); 2004-04-12 10:37:50 +00:00
Brian Matzon 86eb042b81 reworked animated native cursors, to use X animation when required
added initial setGrabbed(boolean) feature - Work in progress
both needs verification on linux
2004-04-12 00:33:01 +00:00
Elias Naur b3b2c4a145 win32 fixup 2004-04-06 14:40:36 +00:00
Elias Naur bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Elias Naur b0a9be7721 Fixed a possible buffer overflow bug in Mouse 2004-04-04 07:37:22 +00:00
Elias Naur 8a2d246060 Saved input events for win32 2004-03-26 21:49:10 +00:00
Brian Matzon 8bcedbffe0 removed \n 2004-01-12 17:24:47 +00:00
Brian Matzon 9dd52c6559 assert that Direct Input has been created 2004-01-12 16:28:51 +00:00
Elias Naur 790b01a01b Reduced Sys.debug from bool -> int 2003-12-20 22:03:25 +00:00
Elias Naur fb8fd0a2d7 Implemented proper debug levels 2003-12-20 14:01:31 +00:00
Elias Naur 472b5337d4 Replaced debug libraries with runtime debug condition 2003-12-15 11:49:17 +00:00
Elias Naur 533fb6882f Native cursor fix in win32 2003-11-23 12:52:08 +00:00
Caspian Rychlik-Prince 754f917730 New Sys.openURL command added 2003-10-28 16:23:17 +00:00
Elias Naur 5f89be0e63 Fixed Mac OS X mouse button mapping 2003-10-25 21:27:54 +00:00
Elias Naur 15dafb1c5a Don't return from UpdateMouseFields on failure to acquire - still need to set deltas to 0 2003-10-14 12:42:05 +00:00
Elias Naur 963605989f Implemented mouse button buffering 2003-10-11 16:29:40 +00:00
Elias Naur 0fa67c9680 Fixed mouse hot spot coordinate 2003-10-11 12:56:26 +00:00
Elias Naur 43b2d67a71 Moved native cursor origin to middle of the window 2003-10-11 11:03:06 +00:00
Elias Naur fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +00:00
Elias Naur 14d023ed09 *** empty log message *** 2003-10-07 14:28:33 +00:00
Elias Naur aa9e183c7f *** empty log message *** 2003-10-07 13:10:17 +00:00
Elias Naur 1ba24e9bdf *** empty log message *** 2003-09-30 11:52:32 +00:00
Elias Naur 6d8991f7dd *** empty log message *** 2003-09-30 11:14:06 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Elias Naur c8f38ac9b7 Flipped cursor coordinates to match OpenGL 2003-08-11 16:35:45 +00:00
Elias Naur 2579413a64 Fixed native win32 cursor bug 2003-07-24 09:09:24 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Caspian Rychlik-Prince 7cb8a93fb1 We now restore display settings on minimize. Hurrah! 2003-06-07 19:28:53 +00:00
Caspian Rychlik-Prince e148f01ba9 Early exit on failed mouse read. 2003-06-07 12:49:55 +00:00
Elias Naur 9bcaa18c3d Implemented Pbuffers on win32 and linux (render to texture will be done later)
Implemented native cursor caps (one bit transparancy, alpha translucency and animations)
2003-05-20 12:20:13 +00:00
Elias Naur e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Caspian Rychlik-Prince 419da83107 New Window class, and major changes to Display 2003-03-28 01:28:04 +00:00
Elias Naur 5ac3ea26e8 Fixed mouse clamping 2003-03-23 20:08:49 +00:00
Brian Matzon 95075c3492 fix: VM crash when using > 4 button mouse 2003-03-23 20:00:28 +00:00
Caspian Rychlik-Prince df1d611624 Fixed JNI error 2003-03-18 16:38:31 +00:00
Caspian Rychlik-Prince c6c2cdcafc Tweaked but little else 2003-03-07 16:01:27 +00:00
Caspian Rychlik-Prince 0f88a2131b *** empty log message *** 2003-03-06 22:55:13 +00:00
Brian Matzon 310526a254 wip fix: buttons array now being ref'ed from native side to avoid GC'ing 2003-03-06 20:55:13 +00:00
Brian Matzon db7b3a9cf5 fix: no longer fatal to not acquire input 2003-03-01 21:39:31 +00:00
Elias Naur 68045ce08f Don't allow the mouse to drift when failing poll 2003-02-12 12:11:05 +00:00
Brian Matzon facd783e4f fix: behave with Controller 2003-02-09 19:51:53 +00:00
Brian Matzon 3eaca27fd7 mod: some formatting
fix: allow creation of mouse more than one time
2003-02-09 19:18:31 +00:00
Brian Matzon 956968e092 new Mouse implementation, rewritten to better fit Controller structure 2003-02-08 19:30:23 +00:00
Caspian Rychlik-Prince 2e3f28b029 *** empty log message *** 2003-02-07 21:54:31 +00:00
Elias Naur 1f3f00aed1 Moved BaseGL constructor parameters to Display 2002-12-19 16:35:35 +00:00
Elias Naur ede753c419 Removed a printf 2002-12-12 20:04:56 +00:00
Elias Naur 7184576886 Fixed a mouse button state array bug 2002-12-12 19:51:20 +00:00
Caspian Rychlik-Prince 2e43ecec70 Copyright added 2002-08-15 15:46:18 +00:00
Caspian Rychlik-Prince 6b87bd6d20 Initial revision 2002-08-11 11:49:32 +00:00