Commit graph

222 commits

Author SHA1 Message Date
David Khachaturov
c0b9240887 - Fix vendor_id/product_id mixup
- Max "calibrate" button non-default
2020-11-15 13:47:59 +00:00
shukenmg
57c1680537
Fix dequeuing (#594) 2020-11-03 16:42:48 +00:00
shukenmg
eda7605739
Expose debugging parameters (#593) 2020-11-03 08:20:42 +00:00
shukenmg
bfdea232cd
Rumble data processing refactor (#591)
* Rumble reimplementation

* Remove white space

* More whitespace

* Remove Update
2020-11-03 08:19:59 +00:00
shukenmg
6f5316d462
Remove unnecessary code (#592) 2020-11-03 08:19:25 +00:00
shukenmg
af3761ab3e
Adds an option to switch between controller calibrated joystick and a predetermined value (#527)
* Fixes an issue some users where having when they enabled Non Original Controller

#524

* Update Joycon.cs

Overwite deadzone 2

* Using enum to switch between

Co-authored-by: Shuken <shukenmg@iuvenisstudios.ga>
Co-authored-by: David Khachaturov <d77777k@gmail.com>
2020-11-02 14:55:23 +00:00
shukenmg
e0e2499f04
New option to calibrate controllers in BetterJoy (#522)
* Inital fix for #521

* Update App.config

* Update App.config

Co-authored-by: Shuken <shukenmg@iuvenisstudios.ga>
2020-11-02 14:52:57 +00:00
german77
f9f1ea4081
Fix accelerometer axis to have correct data for orientation (#563) 2020-10-06 12:33:09 +01:00
shukenmg
36346c1896
Add a mappable shake input
- mappable "shake" input

Co-authored-by: Shuken <shukenmg@iuvenisstudios.ga>
2020-09-22 14:47:26 +01:00
shukenmg
43786c12d9
Automatic switching between 32 and 64-bit hidapi dlls (#542)
- detect bitness of system and change dll appropriately automatically

Co-authored-by: Shuken <shukenmg@iuvenisstudios.ga>
2020-09-22 13:35:54 +01:00
Ceshion
06edcb1be5
🐛 fixes "too many items" when names are null (#543)
* 🐛 avert infinite loop when prod_id not assigned

Without ptr being reassigned in the case of a 0 prod_id, the app would get into an infinite loop on launch, before opening- this should resolve it 😊

* 🐛 fixes "too many items" when names are null

There is an (honestly misleading) OutOfMemoryException with the message "too many items in listbox" that is thrown when there are any items whose ToString() method returns null. This commit (in my maybe-biased opinion) gives a reasonable output in that case instead.
2020-09-22 08:40:10 +01:00
Ceshion
aec0e1d2a8
🐛 avert infinite loop when prod_id not assigned (#539)
Without ptr being reassigned in the case of a 0 prod_id, the app would get into an infinite loop on launch, before opening- this should resolve it 😊
2020-09-21 22:48:46 +01:00
shukenmg
4b30d51b8c
Change the width of the settings menu (#526)
* Change the width of the setings menu

Co-authored-by: Shuken <shukenmg@iuvenisstudios.ga>
2020-09-18 09:01:13 +01:00
shukenmg
c60aa0775f
Fixes #519 (#520)
Make sure to delete the settings file first.
2020-09-18 08:59:58 +01:00
David Khachaturov
99bae0ec2c - Added low battery notification
- Added automatic detection for badly-closed USB connections. Automatically reset the connection in such a case
2020-09-12 09:24:07 +01:00
David Khachaturov
4b181c6aed Merge branch 'master' of https://github.com/Davidobot/BetterJoy 2020-09-10 13:20:39 +01:00
David Khachaturov
2030247716 - Fix program not loading properly for some users 2020-09-10 13:20:35 +01:00
David Khachaturov
3ddd9a7fa0
Update README.md 2020-09-06 17:13:01 +01:00
David Khachaturov
5ea9b05e23
Update README.md 2020-09-06 17:00:42 +01:00
David Khachaturov
a68a2ee424 - Fix rumble (also change default freq values)
- Fix bug on seeing whether a controller is 3rd party
2020-09-06 16:44:49 +01:00
SonicLC
debace5b3a
Fixed button translation error (#425)
Fixed button translation error from OutputControllerDualShock4 to IDualShock4Controller
2020-06-15 19:47:12 +01:00
David Khachaturov
b499db2f0a - Fixed WindowsInput bugs causing the program to close on random key chords. 2020-06-14 10:19:21 +01:00
David Khachaturov
ecfa890c75 - WIP 3rd party controllers 2020-06-12 19:54:13 +01:00
David Khachaturov
e1f3e573fd - WIP Adding support for 3rd party controllers 2020-06-12 16:04:24 +01:00
David Khachaturov
a291f0daf6 - Fixed Subcommands not properly returning.
- all subcommand require a read back from the controller to confirm it has been acknowledged
 - Got rid of the last reminants of "BetterJoyForCemu"
 - Changed GUID to actual GUID of program
2020-06-12 09:26:22 +01:00
David Khachaturov
d894335017 - Added gyro toggle option 2020-06-11 09:27:06 +01:00
David Khachaturov
6d2b4b3918 - Fix LEDs not always being set
- Code clean-up
2020-06-11 09:09:18 +01:00
Robert Borg
f316ade501
avoids some multi threading issues (#418) 2020-06-11 08:03:32 +01:00
David Khachaturov
371346e2a7 Update issue templates 2020-06-09 19:54:25 +01:00
David Khachaturov
9d31a95d90 Update issue templates 2020-06-09 19:53:16 +01:00
David Khachaturov
8af8e581d3 - Changed rumble set_vals to milliseconds 2020-06-09 09:56:35 +01:00
Robert Borg
ff738222c0
Improve fetching subcommand response (#413)
* only send rumble command when rumble data has changed
* don't rerequest data for spi, just wait for response and discard non-related data
2020-06-09 09:26:41 +01:00
David Khachaturov
b0a6a87639
Revert "only send rumble command when rumble data has changed (#408)" (#415)
This reverts commit e9e7cefcdc.
2020-06-09 09:26:23 +01:00
Robert Borg
e9e7cefcdc
only send rumble command when rumble data has changed (#408) 2020-06-09 09:23:15 +01:00
FlaminSarge
c0edb34ec9
Add scrollbar to console log (#366) 2020-06-09 09:21:02 +01:00
David Khachaturov
04055aa97a - implemented inactivity timeout poweroff setting
- updated version
2020-05-22 16:44:43 +01:00
David Khachaturov
d539425b7b - changed tabs to spaces
- formatted all files in accordance to the new spec
2020-05-21 15:27:28 +01:00
Robert Borg
5290a152da
Formatting (#362)
* adds editorconfig to ensure coherent code style
* formats according to editorconfig
2020-05-21 15:19:53 +01:00
David Khachaturov
06d51bc176 - Fixed bracketing style from latest pull request
- Fixed axis swap for dual joycons in single mode from latest pull request
2020-05-20 20:22:33 +01:00
Robert Borg
a8396554e7
Fix input delay 2 (#357)
* extract xboxc360ontroller

* extracts DualShock4Controller

* Revert "ensures we get the latest available HID data (#345)"

This reverts commit cd659366b5.

* Revert "fixes cpu busy spinning when there is no hid data available (#356)"

This reverts commit c4f5bbdc56.
2020-05-20 19:58:40 +01:00
Robert Borg
c4f5bbdc56
fixes cpu busy spinning when there is no hid data available (#356) 2020-05-19 19:46:27 +01:00
David Khachaturov
f1d4febf8f - added check to not allow more than one instance of the program to run at any one time 2020-05-19 13:46:18 +01:00
David Khachaturov
3fdc1fdb00 Merge branch 'master' of https://github.com/Davidobot/BetterJoy 2020-05-19 10:21:21 +01:00
David Khachaturov
bbb34d6ee7 - Implemented Gyro to Analog Trigger Inputs 2020-05-19 10:21:18 +01:00
David Khachaturov
0f9976c1f4
Update README.md 2020-05-17 17:54:55 +01:00
David Khachaturov
7a3e3077b4 - change version to 6.2 2020-05-17 17:47:13 +01:00
David Khachaturov
5857a44f65 - Fixed joycons not being properly detached with the new lack of input lag 2020-05-17 17:44:12 +01:00
David Khachaturov
7b722dddb3 - Fixed DS4 joycon joining bug 2020-05-17 17:11:17 +01:00
Robert Borg
cd659366b5
ensures we get the latest available HID data (#345)
Fixed input delay
2020-05-17 16:52:16 +01:00
David Khachaturov
ce3cb236b1 - LongPowerOff fix (so that it actually uses the AppSettings), and for Pro Controller
- Began trying out BT pairing modes
2020-05-09 18:35:21 +01:00