Commit graph

105 commits

Author SHA1 Message Date
Gino Moena
8890b053c7
Added n64 support (#1138)
* Added n64 support

* Updated icon n64

* fixed Y axis in C buttons

* Added dynamic calibration for n64 joy

* Added option real 64 range

* corrected the stick minimum value for both axis
2024-07-19 15:44:25 +01:00
Fábio Santos
461f5f8f5c
Scale XY coordinates according to new StickScalingFactor configuration option. Closes #630 (#954) 2022-08-04 15:04:23 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
bbb34d6ee7 - Implemented Gyro to Analog Trigger Inputs 2020-05-19 10:21:18 +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
Abk16
3b10bb609f
JoyCons power-off feature (#334)
* Tracking button down timestamps (for long press detection)
* Added joycons power-off functionality
2020-05-09 16:54:11 +01:00
David Khachaturov
fb9240d568 - small rumble motor fix 2020-05-09 16:53:43 +01:00
David Khachaturov
b7b8309995 - Fixed vibration not picking up SmallMotor (simple addition for now) 2020-05-07 15:50:07 +01:00
David Khachaturov
38609c0fd7 - Changed things back to non-DS4 gyro times 2020-05-06 13:41:57 +01:00