Commit Graph

100 Commits

Author SHA1 Message Date
Caspian Rychlik-Prince 370831cada *** empty log message *** 2004-06-14 19:03:33 +00:00
Caspian Rychlik-Prince 43139c9ea9 New stuff for sensitivity adjustment, scrolling, and adjustable dimensions 2004-06-14 19:00:33 +00:00
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Caspian Rychlik-Prince f75bb436c9 Tiny javadoc adjustment 2004-05-26 22:53:40 +00:00
Caspian Rychlik-Prince d137610528 *** empty log message *** 2004-05-25 15:19:16 +00:00
Brian Matzon 3e4eac8e66 javadoc fixes 2004-05-14 17:20:17 +00:00
Caspian Rychlik-Prince b697fb3ecf Removed Sys.setTime(), Sys.getPlatform()
Changed Sys.getTime()
Added Display.sync()
2004-05-05 14:28:40 +00:00
Brian Matzon 54e06e4026 support for n buttons 2004-04-29 16:21:37 +00:00
Brian Matzon a9506354ee fixed mouse issues, setGrabbed & native cursor now works (afaik ;)) 2004-04-12 14:46:18 +00:00
Brian Matzon b21e4a7f93 removed resetAnimation 2004-04-12 14:37:20 +00:00
Elias Naur 0085c8862c LINUX: Implemented setGrabbed 2004-04-12 10:05:13 +00:00
Elias Naur e7eb679f24 Cursor.java:Fixed case where delays == null 2004-04-12 07:20:01 +00:00
Elias Naur 6f1f14facb Reverted the relative coordinate 'bug' - that's the required behaviour when Window.update is calling Mouse.poll. Consider the case where we call Window.update twice before checking getD*: with the old behaviour, only the deltas between the updates are reported, not those before the first update 2004-04-12 07:13:36 +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
Brian Matzon 438e790987 fixed relative coordinate bug 2004-04-11 16:03:40 +00:00
Elias Naur 4974a66398 Folded read into poll to simplify interface 2004-04-07 07:55:42 +00:00
Elias Naur 8065870592 Removed Keyboard.initIDs 2004-04-07 07:48:37 +00:00
Elias Naur bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Brian Matzon 70e36d8058 center mouse as cursor is 2004-04-03 18:18:25 +00:00
Elias Naur 9d55bbb302 Renamed LWJGLErrorException to LWJGLException 2004-03-27 15:05:24 +00:00
Elias Naur 63b33930b1 Added LWJGLErrorException to replace the too general Exception 2004-03-27 14:42:47 +00:00
Elias Naur b98677fb47 All classes use Sys.initialize now 2004-03-27 13:48:58 +00:00
Elias Naur c093f3ace1 Replaced asserts with proper runtime exceptions 2004-03-27 11:55:07 +00:00
Brian Matzon afb8491cfa fixed tests according to new way
cleaned up imports
2004-03-26 21:57:57 +00:00
Elias Naur 0a576f8e33 Save unread buffered input events between read()s 2004-03-26 21:11:20 +00:00
Elias Naur f996e36d6c set native cursor to null at Mouse.destroy() 2004-03-26 16:18:27 +00:00
Caspian Rychlik-Prince 3df3d2d401 Simplification work 2004-03-26 11:26:04 +00:00
Caspian Rychlik-Prince fca57cefd5 Simplification work 2004-03-26 11:09:39 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Brian Matzon dbb0ac6e98 removed not needed NPE check 2004-03-10 20:54:37 +00:00
Brian Matzon 55544a36f3 doh, clamping to width instead of height 2004-03-05 06:23:54 +00:00
Brian Matzon a2aedd996b updated javadoc 2004-02-12 07:10:06 +00:00
Brian Matzon bbf0f46226 updated javadoc 2004-02-12 07:00:16 +00:00
Caspian Rychlik-Prince 11b2fc05e3 The BIG LWJGL REFACTORING 2004-02-08 20:41:00 +00:00
Brian Matzon 3cdd9516f3 assertion on Window.isCreated 2004-02-05 16:33:31 +00:00
Brian Matzon 9adc719a08 getCharacter -> getEventCharacter 2004-02-05 16:23:04 +00:00
Brian Matzon 75572ebcf6 absolute mouse 2004-02-04 21:06:38 +00:00
Brian Matzon a3d1eaf94f using getters 2004-02-04 20:44:07 +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 aa9e183c7f *** empty log message *** 2003-10-07 13:10:17 +00:00
Elias Naur dd72b04c90 boolean results -> Exceptions 2003-09-30 10:52:05 +00:00
Caspian Rychlik-Prince 00616de78b Lazy library instantiation 2003-09-16 15:39:46 +00:00
Caspian Rychlik-Prince 14f38f43e5 Lazy initialization. 2003-09-10 22:39:26 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Brian Matzon f27e5a294c fix: isStateKeySet now returning int 2003-08-23 09:45:22 +00:00
Elias Naur 16ea129071 *** empty log message *** 2003-08-19 19:35:22 +00:00
Brian Matzon 61305f4107 added isStateKeySet for checking LOCK keys 2003-08-19 15:15:00 +00:00
Elias Naur d252143d8b Moved Controller init code later 2003-08-17 18:48:29 +00:00
Caspian Rychlik-Prince 1e69c2ec92 Whooooops! 2003-08-17 16:38:57 +00:00
Caspian Rychlik-Prince 711c157ce6 Added button names and consistent query methods to the buttons, to map between names and indexes and back again 2003-08-17 16:32:53 +00:00
Caspian Rychlik-Prince c94edfb609 *** empty log message *** 2003-08-17 16:31:07 +00:00
Elias Naur 0b55322fc2 Flip cursor images in a copy buffer, not the user buffer 2003-08-10 19:18:02 +00:00
Elias Naur e352e196bd Native cursors now have same origin as OpenGL, lower left corner 2003-08-05 20:46:03 +00:00
Elias Naur 683991fe79 Added buffer positions to Cursor 2003-08-05 20:07:32 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Caspian Rychlik-Prince e143541c01 *** empty log message *** 2003-06-07 12:47:35 +00:00
Elias Naur 6e73a7a953 Doc update 2003-06-07 11:53:17 +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 586c0f4647 Fixes 2003-05-19 08:54:46 +00:00
Elias Naur 9d612fc88b Fixes 2003-05-19 08:53:47 +00:00
Elias Naur e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Brian Matzon b7a151c48b back to 1.19 - silly me 2003-05-08 21:27:12 +00:00
Brian Matzon 900fc0e8fe new test, based on MouseTest 2003-05-08 21:23:02 +00:00
Caspian Rychlik-Prince 99588933cf Added some isCreated() methods to input classes and keyboard key name mapping 2003-04-07 15:21:09 +00:00
Caspian Rychlik-Prince 4924c564d5 *** empty log message *** 2003-03-28 19:02:24 +00:00
Caspian Rychlik-Prince 24bfb0cf00 New Window class, and major changes to Display 2003-03-27 22:54:41 +00:00
Brian Matzon 0d1cc7583b fix: creation of buttons array now occurs in java side 2003-03-24 16:58:10 +00:00
Caspian Rychlik-Prince be9286b6a0 Fixed some JNI errors. One remains. 2003-03-17 18:57:05 +00:00
Brian Matzon 7bff025626 formatting and better javadoc 2003-02-10 23:09:54 +00:00
Brian Matzon 956968e092 new Mouse implementation, rewritten to better fit Controller structure 2003-02-08 19:30:23 +00:00
Brian Matzon 99e22aa0b4 added rotational axis too 2003-01-23 21:38:33 +00:00
Elias Naur 1b3d0278f9 Added keyboard translation to linux and win32 2003-01-11 23:09:38 +00:00
Brian Matzon 988f115218 Joystick replaced by Controller
GamePad no modelled as a controller
2003-01-03 18:47:42 +00:00
Brian Matzon 951a036ae3 Lightweight actually spelled right! 2002-12-21 12:37:20 +00:00
Brian Matzon b97b37507b javadoc fixes 2002-12-21 12:07:15 +00:00
Luke Holden f7521462ff Commented out the enableBuffer methods. Looks like these methods wont be
implemented in the JNI side, so they should not exist in the API.
2002-12-18 21:57:31 +00:00
Brian Matzon 93ea8846f7 beautification 2002-12-15 22:24:48 +00:00
Elias Naur c13797bae2 Added keycode mapping for enter and tab in Keyboard.java 2002-11-25 15:32:13 +00:00
Elias Naur 963237b3fc Removed PRINTSCREEN, PAGEUP and PAGEDOWN again - need to remap instead 2002-11-24 19:35:00 +00:00
Elias Naur 5c896d3b7d Added Keyboard.KEY_PRINTSCREEN 2002-11-24 14:35:56 +00:00
Elias Naur 72a598e943 Added Keyboard.KEY_PAGEUP Keyboard.KEY_PAGEDOWN 2002-11-24 12:01:24 +00:00
Brian Matzon cd04bdf33b moved tests to org.lwjgl.test for easier seperation 2002-11-19 16:49:53 +00:00
Brian Matzon d32ec087bc fix: made joystick static, according to specs 2002-11-18 17:50:21 +00:00
Brian Matzon 5d596cd7c3 accompanying test for the joystick implementation 2002-11-17 18:15:01 +00:00
Brian Matzon 84e7d0fe98 first stab at the joystick implementation 2002-11-17 18:14:13 +00:00
Caspian Rychlik-Prince 9e58e87ce9 Fixed various bugs 2002-09-06 23:58:33 +00:00
Caspian Rychlik-Prince c6659f88a4 Stuff 2002-08-28 21:58:14 +00:00
Caspian Rychlik-Prince 78dc61358e Buffering added 2002-08-24 21:14:40 +00:00
Caspian Rychlik-Prince a5615938c9 Minor adjustments to Javadoc comments 2002-08-20 14:55:29 +00:00
Caspian Rychlik-Prince 72fedde744 Encapsulated LIBRARY_NAME 2002-08-19 14:01:23 +00:00
Caspian Rychlik-Prince 9752430e66 Copyright added 2002-08-15 16:19:01 +00:00
Caspian Rychlik-Prince 2e43ecec70 Copyright added 2002-08-15 15:46:18 +00:00
Brian Matzon 05c2e5844b fixed: joystick javadoc changed to mouse 2002-08-15 14:08:14 +00:00
Caspian Rychlik-Prince 630362c462 Added GamePad and Joystick and some query methods 2002-08-14 14:31:09 +00:00
Caspian Rychlik-Prince 6fe3e3188e StructBuffer added. Numerous changes to timing code in Sys. 2002-08-11 11:36:18 +00:00
Caspian Rychlik-Prince 1b741fdfc5 Added GLU and GLUT, and core GL commands 2002-08-09 18:50:58 +00:00
Caspian Rychlik-Prince fec4678286 First code import. 2002-08-09 10:56:30 +00:00