Commit Graph

140 Commits

Author SHA1 Message Date
Travis Nickles
aa0e0fce50 Fix index out of bounds error 2017-05-20 18:56:11 -07:00
Travis Nickles
f9de32e184 Use proper index for dinput only flag 2017-05-18 18:16:08 -07:00
Travis Nickles
1e2c57a08a Minor optimizations 2017-05-18 17:51:01 -07:00
Travis Nickles
b3bd007219 Use proper xinput index on hotplug. Fix bad copy paste job 2017-05-18 16:33:37 -07:00
Travis Nickles
1ef0b04dbc Fixed bug with code executing with no user input
This should not be happening in the first place
2017-05-17 10:59:49 -07:00
Travis Nickles
84fdb26d18 Reset old backstore profile values before loading new profile values 2017-05-17 06:11:32 -07:00
Travis Nickles
2b741533bb Minor optimizations 2017-05-17 01:59:09 -07:00
Travis Nickles
1958f082c5 Change battery status change reporting 2017-05-17 00:57:06 -07:00
Travis Nickles
ac23921978 Allow BT poll rate to be specified. Use thread action queue now. Some bug fixes 2017-05-16 23:02:12 -07:00
Travis Nickles
9b78668935 Test new action invocation on input threads.
Only used to transfer idle disconnect time but
it might be more useful in the future.
2017-05-13 19:31:39 -07:00
Travis Nickles
b1c640eaa1 Enforce Launch Program with Profile during a hotplug event 2017-05-13 16:47:54 -07:00
Travis Nickles
bca7850a36 Stop using Async methods for FileStream instance. Reduce CPU usage. Initial thread action queue.
No longer uses an application set timeout but it looks like
a timeout will be handled by the system
2017-05-13 15:01:43 -07:00
Travis Nickles
edeaa30b59 Code clean up. Reset xinput mapping for more bound actions. 2017-05-12 07:48:58 -07:00
Travis Nickles
f3c9e08398 Minor changes 2017-05-11 08:13:51 -07:00
Travis Nickles
81b54a7dd9 Change plugin and unplug routines with ScpVBus 2017-05-11 06:41:18 -07:00
Travis Nickles
e620dce4b9 Minor clean up 2017-05-09 17:23:51 -07:00
Travis Nickles
7e61f52dd1 Launch new task for Launch Program with Profile 2017-05-09 16:34:56 -07:00
Travis Nickles
0e6514a072 Fixed reverse 360 button mapping generation
Share and Options were not being mapped properly.
Resolves issue #33.
2017-05-09 07:53:10 -07:00
Travis Nickles
6074445c03 Attempt at better clean up when removing devices
Use SynchronizationContext to run some tasks in main thread
as opposed to input thread
2017-05-09 03:11:50 -07:00
Travis Nickles
8b42562aec Alter how Launch Program with Profile works 2017-05-08 22:12:39 -07:00
Travis Nickles
74aa709583 Only use one instance of field mapping in case of multiple multi-action button assignments 2017-05-08 20:06:48 -07:00
Travis Nickles
22ebca3e01 Make sure extra flags are populated in more places for special actions 2017-05-08 07:29:38 -07:00
Travis Nickles
4980cd01dc Fix issue with multi-action button not working
Related to issue #26.
2017-05-08 07:27:41 -07:00
Travis Nickles
5bfd6df2d3 Added max zone settings 2017-05-05 09:13:12 -07:00
Travis Nickles
be27af50d3 Some optimizations. Use reverse mapping array. Skip xinput report in dinput mode. 2017-05-04 08:42:27 -07:00
Travis Nickles
400ba4f293 Fix process starting issue when activating exclusive mode
Only one hotplug request should be processed at a time now.
Hopefully this fixes issues with devices staying disabled
2017-05-01 11:28:07 -07:00
Travis Nickles
4ce52da612 Test minor change of usb device removal 2017-05-01 03:40:37 -07:00
Travis Nickles
d37e0709c0 More log messages. Tweak DisconnectBT. Other minor changes. 2017-05-01 02:29:19 -07:00
Travis Nickles
3f68c9bcb8 Removed usage of some unused namespaces
The only real import one is remove System.Windows.Forms
for non GUI items
2017-04-30 06:42:09 -07:00
Travis Nickles
1821658455 Change event check for newly opened devices 2017-04-30 06:39:09 -07:00
Travis Nickles
242843ab99 Another attempt at fixing Quick Charge to work better for other users
Hotplugging happens quicker now
2017-04-30 02:29:00 -07:00
Travis Nickles
83c7bb7740 Minor optimization for device refreshing and profile switching 2017-04-29 01:19:45 -07:00
Travis Nickles
2cfaee50e5 Corrects problem with old profiles with duplicate actions
Related to issue #24.
2017-04-28 17:19:05 -07:00
Travis Nickles
2fe4a6405d Use zero value for inactive gyro directions 2017-04-28 13:11:37 -07:00
Travis Nickles
9e153fff97 Fixed a couple of issue with gyro mappings 2017-04-28 13:06:58 -07:00
Travis Nickles
ca2074d76f Version 1.4.65 2017-04-28 11:57:33 -07:00
Travis Nickles
44501c24de Revert back to old disconnect bluetooth behavior 2017-04-26 18:39:33 -07:00
Travis Nickles
de1b6b223f Remove use of event in TouchPadOn since the event will be use later 2017-04-26 15:42:28 -07:00
Travis Nickles
508c2b2067 Rename new hotkey option. Some optimizations for Options form. 2017-04-26 14:51:15 -07:00
Travis Nickles
4a159d4216 Make hotkey execution an optional profile setting.
Related to issue #21
2017-04-26 12:43:01 -07:00
Travis Nickles
de0e9a88cb Change device removal event to only hide one device rather than refresh a list 2017-04-26 01:00:05 -07:00
Travis Nickles
2a20350b6b Some minor changes 2017-04-25 20:07:02 -07:00
Travis Nickles
05c94b677b Hopefully correct some behavior for axis to axis mappings 2017-04-25 07:10:36 -07:00
Travis Nickles
2b5ae4fd51 Show 1 based controller indexes in log 2017-04-25 03:36:50 -07:00
Travis Nickles
ea3b1401f0 Only update battery status for one controller instead of entire controller list
Event is also executed async now.
2017-04-25 02:24:14 -07:00
Travis Nickles
00b6c5e1ea Add new byte mapping and xy axis mapping methods 2017-04-24 07:16:42 -07:00
Travis Nickles
e34e8115ad Fix some button mapping issues. Style changes. Change runStartupPanel 2017-04-24 02:43:56 -07:00
Travis Nickles
bba8af6a63 Work around a couple of null reference problems that might occur 2017-04-23 17:48:13 -07:00
Travis Nickles
8df30a5bbb Change lightbar pulse charging mode to be time dependent 2017-04-22 18:01:31 -07:00
Travis Nickles
064b478683 Fix index out of bounds problem 2017-04-22 08:03:24 -07:00