Commit graph

247 commits

Author SHA1 Message Date
David Khachaturov
5e3d6ac4f4 - misc 2021-11-22 11:23:23 +00:00
BurndiL
96f5620f68
Float Parsing issue fix (#884) 2021-11-21 16:50:43 +00:00
David Khachaturov
95902a517a
Update README.md 2021-11-18 12:12:22 +00:00
cobalt2727
a685abde9c
mention rebooting (#648)
in my experience it tends to not work before a restart
2021-11-18 10:29:06 +00:00
Giovanni Santini
9a9cf60f18
Add building instructions (#851)
* Added building instructions

This can help users to contribute to the project.

* fix: Improve the last part of the building section
2021-11-18 10:28:48 +00:00
IonBlade2K
464eda0a79
- Fix ZL -> L2 and ZR -> R2 not working in many games (implement digital buttons) (#867)
- Remap Pro / combined "Capture" button to PS Share, and Minus -> Touchpad press, as is more logical given the purpose of the Capture button
2021-11-18 10:28:21 +00:00
Mercury233
f29a8aacb5
fix hidapi.dll loading (#816) 2021-11-18 10:27:53 +00:00
empathicqubit
0ccd62fd88
Bump WindowsInput version (#830) 2021-08-22 13:43:44 +01:00
David Khachaturov
50b64b1165 - Add option to use raw gyro (without filter) input for gyro control mapping 2021-04-30 17:05:48 +01:00
David Khachaturov
d0709ac6ff - Implement gyro-to-joystick; still needs testing on joycons 2021-04-29 16:22:55 +01:00
David Khachaturov
4423bcf881 - Add "DoNotRejoinJoycons" setting that allows you to use two joycons (or more) separately while in vertical mode 2021-04-24 19:15:53 +01:00
David Khachaturov
b1fc5267da - Add option to double click sticks to change joycon orientation (split or join) 2021-04-18 10:14:03 +01:00
David Khachaturov
f1996f3864 - Fix application of UseIncrementalLights 2021-04-18 08:56:04 +01:00
David Khachaturov
7444c01adc - fix Hori controllers (thank you bitamind!)
- add default calibration settings (acc/gyro and sticks) that are used for third party controllers automatically
2021-04-17 11:15:38 +01:00
David Khachaturov
e451b95536 Merge branch 'master' of https://github.com/Davidobot/BetterJoy 2021-04-17 10:08:54 +01:00
Casey Fitzpatrick
8d5fd675bd
MotionServer DS4 mapping (#743)
* Fix DS4 button mapping for PS and square buttons

* Use DS4 mapping for UdpServer

Leverage the complex single vs. double joycon vs. pro logic in the
Show as DS4 mapping code so that the MotionServer can properly support
a single joycon with SL and SR buttons available.
2021-03-31 20:37:37 +01:00
Odaem
2ca18ffe19
Fix incorrect mapping to DS4 (#742)
the mapping to ds4 when using combined joycon was faulty; this should be correct but I currently have no way to test it
2021-03-31 20:36:33 +01:00
David Khachaturov
b94203b0ab - fix typo 2021-03-29 09:42:05 +01:00
David Khachaturov
8d14a39ea4 - Update ViGEm 2021-03-29 09:40:15 +01:00
ASleepyCat
19bc9e32c5
Fix 3rdPartyControllers file not being able to be found when launching BetterJoyForCemu from Search/PowerToys Run (#703) 2021-02-23 09:02:08 +00:00
David Khachaturov
b8de5003a4 - Significantly improved gyro-to-mouse accuracy/stability by using a DCM filter. (https://x-io.co.uk/open-source-imu-and-ahrs-algorithms/)
- Gyro Analogue slider accuracy improved as well
2021-02-14 14:52:43 +01:00
ASleepyCat
8c591fd2f2
Fix settings file not being able to be found when launching BetterJoyForCemu from Search/PowerToys Run (#673)
* Explicitly assign settings file path

* Set settings path in Config constructor

* Make settings path readonly
2021-01-22 07:35:44 +01:00
Luca Mazzilli
53a0a272b8
used serial_number to identify and set type to a specific device (#663)
3rd party joycons (tested on joysky "wireless controller for N/SW) reported the same name "wireless gamepad" so i was unable to correcly address the left/right type of joycon. 

By using bluetooth serial number as additional identifier we can target specific device with correct type.

Changes:
- used serial_number as additional condition in "check list of custom controllers specified" block
- SController now incapsulate serial_number and use it for hash, equals, serialize etc
- Read the 5 index of 3rdPartyController file on _3rdPartyControllers
2021-01-13 18:57:09 +01:00
Chris
68f1c476c6
Use incremental lighting to indicate players on Joycons. (#617)
Consolidates LED and other/attached Joycon handling.
2020-11-19 08:54:00 +00:00
Chris
40dce4149c
Do not connect Joycons that are already paired. Fix concurrent modifications on Joycon list with concurrent list implementation. (#612) 2020-11-16 14:46:44 +00:00
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