Commit Graph

45 Commits

Author SHA1 Message Date
Sebastian Hoffmann f8520773e9 samples: add input device tester program
Closes #234
2018-11-30 21:03:30 +01:00
rdb 447316c706 samples: fixes for gamepad samples 2018-11-30 20:54:37 +01:00
rdb 26fcf131c9 Merge branch 'master' into input-overhaul 2018-11-25 17:10:31 +01:00
rdb 074c5187b0 Adopt new WindowProperties(size=(x, y), ...) short-hand
This is intended as replacement for WindowProperties.size(x, y), which is deprecated since it conflicts with the `size` property.  See #444.
2018-11-12 17:53:53 +01:00
rdb 3d66e22905 samples: improvements to flight stick sample program 2018-10-07 20:47:59 +02:00
fireclawthefox d764574d07 Added updated flight stick sample 2018-09-29 15:23:54 +02:00
fireclawthefox aff9befd35 Updated steering wheel sample
made steering wheel sample work with current version of input classes
2018-09-29 15:17:58 +02:00
rdb c4b3b558c9 samples: fixes and improvements to gamepad and mappingGUI sample 2018-09-28 22:17:19 +02:00
rdb 3ffe11485d Merge branch 'master' into input-overhaul 2018-09-28 15:12:49 +02:00
rdb 4c67861a28 samples: set heightfield to clamp mode in shader-terrain sample 2018-09-25 21:03:09 +02:00
rdb ba2de46beb Merge branch 'master' into input-overhaul 2018-06-08 15:23:47 +02:00
Sam Edwards e15cea4331 general: Remove more unnecessary +x UNIX modes 2018-02-07 11:29:48 -07:00
rdb 8e6cf2a60b Merge branch 'master' into input-overhaul 2017-12-17 13:04:15 +01:00
rdb 73d13a8f5c Merge remote-tracking branch 'origin/release/1.9.x' 2017-10-31 20:20:49 +01:00
Ed Swartz 34731cd2f4 rocket: Add sample showing some Panda3D uses of libRocket. (#24) 2017-10-31 19:43:28 +01:00
rdb 7d721a33a6 Restore setShaderInput overload taking 4 numbers, but deprecate it 2017-10-18 11:26:20 +02:00
rdb 163c923c82 Backport various fixes for 1.9.4 2017-03-31 18:08:49 +02:00
刘群 4cc2009a94 Correct several spelling mistakes in comments 2017-02-18 16:24:58 +08:00
rdb d3008c56e0 Merge branch 'input-overhaul' of github.com:grimfang/panda3d into input-overhaul 2016-11-22 12:15:37 +01:00
rdb 40ff32c7a8 Show how to disable shadow map updates in shadow samples 2016-08-27 19:15:03 +02:00
fireclawthefox dc1ec6b877 small cleanup of sample files
Further documentation
simplyfy lines by separately storing the value of findControl
2016-08-10 16:48:53 +02:00
fireclawthefox 5a378becfc Added button mapping GUI 2016-08-10 13:11:24 +02:00
fireclawthefox 3da928a4de changed axis state detection to new functions and exposed state classes 2016-08-04 22:55:39 +02:00
fireclawthefox 2565f4b423 Renamed gamepad sample script to gamepad.py
Renamed gamepad sample script
Changed axis usage to the newly created functions and exposed classes
2016-08-04 22:54:19 +02:00
fireclawthefox cf63a6cccb Added another example showing usage of wheel devices 2016-08-03 20:21:08 +02:00
fireclawthefox a98cc38c90 Added gamepad device sample script 2016-07-22 21:34:10 +02:00
rdb 4283a63a7d Merge branch 'release/1.9.x' 2016-06-11 01:29:14 +02:00
rdb 12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
tobspr dac2bfc7b9 Support for setting a heightfield handle directly on the ShaderTerrainMesh 2016-04-30 09:32:09 +02:00
tobspr 206539d719 Fix missing coordinate system in sample 2016-04-15 19:12:13 +02:00
rdb 7addf3e12b Merge pull request #80 from tobspr/master
Add new terrain implementation (ShaderTerrainMesh)
2016-04-11 18:35:11 +02:00
rdb ba4c38112c Merge remote-tracking branch 'origin/release/1.9.x' 2016-03-25 17:22:00 +01:00
rdb ad350a207e Replace use of deprecated base.loadSfx/loadMusic with loader.loadSfx/Music 2016-03-24 23:55:38 +01:00
tobspr 84f5baaf2c Add ShaderTerrainMesh sample 2016-02-20 14:05:50 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 3c2f820ad8 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/DeploymentTools.py
2015-11-24 13:39:36 +01:00
rdb 414460a3b5 Fix a few issues with mouse mode sample 2015-11-24 00:17:15 +01:00
rdb 573af61636 Merge remote-tracking branch 'eswartz/support-mouse-confinement-cocoa' into release/1.9.x
Closes: #20
2015-11-21 17:43:07 +01:00
rdb 3cd15c3d48 Merge branch 'release/1.9.x' 2015-08-31 15:59:06 +02:00
rdb 9053999889 Don't put important code in an assert - fixes media player sample in runtime environment 2015-08-28 21:40:08 +02:00
rdb 49fdd56c09 Remove DirectStart imports from shadows sample 2015-07-20 20:04:27 +02:00
Ed Swartz fc5a2e5e33 Implement confined mouse mode for OS X.
Note: it seems that using #set_pointer() will result in
a long delay before an absolute mouse position is updated,
even though deltas are reported.

Thus, in CocoaPandaView, the mouse deltas are sent for both
relative and confined modes, so client code (e.g. the "mouse
modes" demo) will be able to recenter the mouse without
choppy movement.
2015-04-30 17:57:00 -05:00
Ed Swartz f6841d7fc5 Add sample program demonstrating the mouse modes 2015-04-17 15:26:57 -05:00
rdb de0b0dd879 Fix various issues with Python 3 support, fix samples to work with Python 3 2015-03-23 00:32:47 +01:00
rdb 78c3593d2c Add sample programs to the repository 2015-03-14 15:01:31 +01:00