Mitchell Stokes
57d48d4493
Committing patch "[ #29763 ] Adding an active_events property to SCA_PythonKeyboard and SCA_PythonMouse"
...
Here is the description:
As the summary says, this patch adds a new event to both SCA_PythonKeyboard and SCA_PythonMouse. This property is similar to the events property that both have, but it only returns events which are not KX_NO_INPUTSTATUS. This moves the "no input" check from Python to C, which gave my input handling code a 2x speed up. Python sucks (performance-wise) with iterating lists and SCA_PythonKeyboard has close to 200 events (I think something like 177, but I don't know for sure).
2012-01-22 05:45:56 +00:00
..
2012-01-02 12:35:06 +00:00
2012-01-02 12:35:06 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2012-01-16 05:27:11 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2012-01-16 05:27:11 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-12-30 07:55:15 +00:00
2011-11-06 01:39:36 +00:00
2011-10-20 00:19:21 +00:00
2011-02-22 10:33:14 +00:00
2011-03-30 04:58:45 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2012-01-16 05:27:11 +00:00
2012-01-16 05:27:11 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-11 13:09:14 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2012-01-16 05:27:11 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2012-01-16 05:27:11 +00:00
2011-11-06 01:39:36 +00:00
2011-11-06 01:39:36 +00:00
2011-11-06 01:39:36 +00:00
2012-01-22 05:45:56 +00:00
2012-01-22 05:45:56 +00:00
2012-01-22 05:45:56 +00:00
2012-01-22 05:45:56 +00:00
2012-01-16 05:27:11 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-12-30 07:55:15 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-23 17:52:20 +00:00
2011-11-06 01:39:36 +00:00
2011-10-20 00:19:21 +00:00