21092 Commits

Author SHA1 Message Date
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
e1661111c2 Exposed AnalogState and ButtonState
Published Analog- and ButtonState to be accessible from python
Added functions to find Controls and buttons to simplify access
Refactored highscore search for setting the device class
2016-08-04 22:52:01 +02:00
fireclawthefox
cf63a6cccb Added another example showing usage of wheel devices 2016-08-03 20:21:08 +02:00
fireclawthefox
670efb9e64 Extended device class heuristics
Extended and partly restructured the way how the device class gets set
Added DC_COUNT to the DeviceClass enum to simplify loop checks
2016-08-03 20:20:01 +02:00
fireclawthefox
a98cc38c90 Added gamepad device sample script 2016-07-22 21:34:10 +02:00
fireclawthefox
29896a39a4 cleanup and fixes
fixed event prefix ID handling
fixed removing of nodes of disconnected devices
removed debug prints
added more comments
2016-07-22 21:33:41 +02:00
fireclawthefox
271997b462 Moved get_devices functions into PUBLISHED section 2016-07-22 21:25:27 +02:00
fireclawthefox
2e8338c681 Add the new inputDeviceNode to the data graph
create node and add to data graph for any connected device
add function to add and remove devices and call them on dis-/connection
add poll call for all devices in the __dataLoop task
2016-07-21 23:12:07 +02:00
fireclawthefox
ef7cc925c4 Add data graph node for devices
Add the new inputDeviceNode class to be used in the data graph
Add config variable for low batery level
2016-07-21 23:09:09 +02:00
fireclawthefox
a6110a606e renamed gamepad to device in inputDeviceManager
renamed as not every device is a gamepad
2016-07-21 12:46:20 +02:00
fireclawthefox
dcdbe4b339 Add handling for new gamepad buttons
Added handles to 1, 2, next and previous as available on the wiimote
2016-07-21 12:44:44 +02:00
rdb
c7dbf193f1 Fix Linux crash with Xbox One controller, fix compile warnings 2016-06-28 17:49:47 +02:00
rdb
fd16e34660 Fix Xbox One controller on Windows, add untested support for flight sticks and steering wheels 2016-06-24 13:32:10 +02:00
rdb
01e57e1bdd Emulate d-pad from hat axes, fixes Xbox One d-pad buttons on Linux 2016-06-24 10:54:57 +02:00
rdb
b98d3c06ee Merge branch 'master' into input-overhaul 2016-06-24 10:51:41 +02:00
rdb
9963fe2c3c Fix a couple of compile warnings, reduce unnecessary includes 2016-06-23 22:59:50 +02:00
rdb
7266f5ae68 Fix race condition when multiple threads write to MultiplexStream simultaneously 2016-06-23 22:56:18 +02:00
rdb
9b5ff08011 Fix crash loading null audio manager 2016-06-23 22:27:34 +02:00
rdb
6728e5ecbe Merge remote-tracking branch 'origin/release/1.9.x' 2016-06-23 16:14:18 +02:00
Chris Brunner
78ab82b88e support for maya 2016.5 2016-06-22 16:08:05 -07:00
rdb
fede8b8d69 Fix compile issue on Mac OS X 2016-06-22 22:24:33 +02:00
rdb
7676104f4c Fix error compiling with pre-C++11 compilers 2016-06-22 19:19:00 +02:00
rdb
7e08b87ff7 IPv6 support, improve URL handling/comparison 2016-06-22 17:57:40 +02:00
rdb
4724a7ddbc Add 1.9.3 release notes, bump version number 2016-06-22 17:22:06 +02:00
rdb
0821bec2d0 Backport 2f0bc01 to 1.9: Fix bug causing random crash during module initialization 2016-06-22 15:04:00 +02:00
rdb
f068a8613b Fix a few unnecessary uses of exec/eval 2016-06-22 13:50:58 +02:00
rdb
bf26cecb32 Fix some compile warnings 2016-06-22 13:44:16 +02:00
rdb
1974b3e692 Fix deadlock waiting for Python task to end at end of program 2016-06-12 12:04:03 +02:00
rdb
89deb71538 Fix regression loading nurbs surface/curve and patches from .egg 2016-06-11 23:24:06 +02:00
rdb
4283a63a7d Merge branch 'release/1.9.x' 2016-06-11 01:29:14 +02:00
rdb
ba919b0948 Fix crash running TaskTester 2016-06-11 01:11:03 +02:00
rdb
12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
rdb
7d6b7f40f5 Merge branch 'release/1.9.x' 2016-06-09 21:52:51 +02:00
rdb
0a731d0545 Improve performance of texture load/store 2016-06-09 21:49:26 +02:00
rdb
a1749b2f07 Don't align transform_blend vertex column to 4 byte boundary
Somewhat improves performance of CPU vertex animation
2016-06-09 21:48:57 +02:00
rdb
b303962e96 Disable cycle detection in tasks for now, it is way too unstable 2016-06-09 16:48:31 +02:00
Chris Brunner
e04fc75531 Added support for Maya 2016.5 2016-06-08 10:15:17 -07:00
rdb
e9c76328fb Fix a crash in PythonTask destructor 2016-06-08 13:18:31 +02:00
rdb
5675e0de56 Merge branch 'release/1.9.x' 2016-06-07 22:08:00 +02:00
rdb
2d6e817d1d Fix reading multifiles that were built with -F option 2016-06-07 22:04:34 +02:00
rdb
d53b2ca80e Backport various bugfixes from master, among which:
- Fix Windows pbuffer crash on Intel cards
 - Fix crash when using pnmimage.write with unsupported format
 - Fix GLSL diagnostics on Mesa GLES2 compiler
 - Reduce warning severity when resizing immutable storage texture
 - Print more debug info when FrameBufferProperties are insufficient
 - Fix "Bam file contains objects of unknown type: MovingPart<LMatrix4f>"
 - Fix memory leak in BulletTriangleMesh
 - Fix pmerge in Python 3
2016-06-07 14:40:27 +02:00
rdb
3951a191a3 Fix compile issues with ffmpeg on FreeBSD and Mac OS X 2016-06-07 14:06:53 +02:00
rdb
378f3e7e52 Add librt.so.1 to the list of libraries to ignore 2016-06-04 17:34:52 +02:00
rdb
8d05ef3022 Assorted fixes 2016-06-03 22:23:42 +02:00
rdb
08db72a2ca Update dlmalloc 2016-06-03 17:42:49 +02:00
rdb
987c5135a0 Make models from 'models' package available under models/ prefix as well 2016-06-03 16:45:10 +02:00
rdb
679bf0a554 Implement tellg() on ZStream, make multify -t work with .pz/.gz compressed multifiles 2016-06-03 16:12:37 +02:00
rdb
0d770deeaa Add --rtdist-version option to makepanda 2016-06-03 02:40:14 +02:00
rdb
5543716660 Interrogate wraps vector<unsigned char> as Python 3 bytes object 2016-06-03 01:47:54 +02:00