Commit graph

408 commits

Author SHA1 Message Date
Megamouse
06d2c5357b dualsense: fix LED updates 2021-03-06 02:07:02 +01:00
Megamouse
c8e7530e37 dualsense: get hardware and firmware version 2021-03-06 02:07:02 +01:00
Megamouse
cdffaa1598 dualsense: implement battery level 2021-03-06 02:07:02 +01:00
Megamouse
b836d2497d dualsense: minor cleanup 2021-03-06 02:07:02 +01:00
Nekotekina
52fe86b56c fixed_typemap.hpp: make it a bit fool-proof
Require objects to be non-copyable (move is still allowed).
2021-03-02 21:58:49 +03:00
Megamouse
930895a218 DS3: fix LED battery status 2021-03-02 01:29:28 +01:00
Megamouse
3452e18da1 DS3: fix linux output report 2021-03-02 00:45:42 +01:00
Megamouse
b5d4b5a21c DS3: fix regression: pad data is cleared even if there is no new data 2021-03-01 14:37:49 +01:00
Megamouse
2dc798d539 DS3: fix battery_level aquisition 2021-03-01 14:37:49 +01:00
Megamouse
c2467b7b38 ds3: add led battery indicators (Linux only atm)
needs testing. maybe doesn't work
2021-03-01 14:37:49 +01:00
Megamouse
22b8cfd0ba input: add some sanity checks 2021-03-01 14:37:49 +01:00
Megamouse
10a55f16cc DS3: implement player LEDs 2021-03-01 14:37:49 +01:00
Megamouse
b83cb2dbf5
product_info: add Harmonix Pro-Drum Kit (#9822)
Co-authored-by: DrGeelfood <79338929+DrGeelfood@users.noreply.github.com>
2021-02-23 18:23:53 +03:00
Megamouse
0878db4e17 remove unused variable 2021-02-23 05:03:38 +01:00
Megamouse
2e5f321583 evdev: fix build 2021-02-22 10:45:40 +01:00
Megamouse
5a9b29b73a hid: log more info when adding a device
And minor format changes
2021-02-22 10:45:40 +01:00
Megamouse
1b2260132b only call hid_exit when all hid_handlers are done 2021-02-22 10:45:40 +01:00
Megamouse
1479468730 Input: fix build 2021-02-22 10:45:40 +01:00
Megamouse
870d26f9d8 Input: replace a bunch of static_pointer_cast 2021-02-22 10:45:40 +01:00
Megamouse
f6d465667a Input: unify some more code 2021-02-22 10:45:40 +01:00
Megamouse
aaae30cb84 DS3: inherit from hid_pad_handler 2021-02-22 10:45:40 +01:00
Megamouse
fbb9396813 DualSense: inherit from hid_pad_handler 2021-02-22 10:45:40 +01:00
Megamouse
b9a4abce0e DS4: inherit from hid_pad_handler 2021-02-22 10:45:40 +01:00
Megamouse
d0cc5c0fc7 DS4: enumerate devices periodically 2021-02-22 10:45:40 +01:00
Nekotekina
8e6e57de86 Enable -Wunused-function warning 2021-02-15 14:39:53 +03:00
Megamouse
bc938ce630 dualsense: implement player LEDs 2021-02-09 19:21:37 +01:00
Megamouse
db402cb8af dualsense: add player LED support 2021-02-09 19:21:37 +01:00
Megamouse
1af6550db7 dualsense: add lightbar support 2021-02-09 19:21:37 +01:00
Megamouse
7795f5207f dualsense: fix switched motors
The left one seems to be the large motor
2021-02-09 19:21:37 +01:00
Megamouse
a9b8a50c31 dualsense: add output report structs based on linux driver 2021-02-09 19:21:37 +01:00
Megamouse
a9418fa1e7 dualsense: implement SetPadData for rumble in GUI 2021-02-09 19:21:37 +01:00
Megamouse
08f48d27e8 Input: minor simplification
This might prevent some copy paste error in the future
2021-02-09 19:21:37 +01:00
Megamouse
25a66da4ca Input: rename some functions 2021-02-09 19:21:37 +01:00
Megamouse
ff61bc9e7c dualsense: add mic button 2021-02-09 19:21:37 +01:00
Megamouse
3e8f4ba018 dualsense: add gyro support 2021-02-09 19:21:37 +01:00
Megamouse
7e0fdbbe99 Fix rpcs3.vcxproj 2021-02-04 23:11:05 +01:00
Nekotekina
a6a92f7b6b Qt: remove Q_OBJECT for mouse/kb handlers
Had to move QObject in parent list for g_fxo changes.
2021-02-04 23:11:05 +01:00
Megamouse
51d19e7c31 Input: remove debug error 2021-01-28 18:02:23 +01:00
Megamouse
8eaf76394c Qt/Input: Use ellipsis as "mouse deadzone"
This is experimental and smoothens the existing square shaped deadzone
2021-01-13 11:25:33 +01:00
Nekotekina
db8e6fe7a7 Enable -Wunused-variable 2021-01-12 14:34:14 +03:00
Megamouse
52deff06ba
Random stuff (#9589)
* minor coding style adjustment

* Qt: simplify osk dialog buttons

* replace std::find_if with convenience functions

* RSX: use sv in swizzle comparison

idk, I'll remove this if it was intentional.

* overlays/osk: rename enter to return

This one confused me and make me look for a bug that caused the "enter" key to be disabled, while it was actually the return key (obviously xD).
2021-01-12 12:59:50 +03:00
Nekotekina
a8e0d261b7 types.hpp: more cleanup
Also fix compilation.
2020-12-22 19:08:09 +03:00
Nekotekina
43a58df8a0 Butcher narrow cast a little (don't print value).
Also remove some forward declarations from util/types.hpp
If they don't work properly, it's easier to remove them.
2020-12-22 14:32:30 +03:00
Nekotekina
b7bf316c1a Don't randomly include "stdafx.h"
It's file for precompiled headers.
Include what is used, don't rely on transitive includes.
2020-12-22 14:32:30 +03:00
Nekotekina
fb29933d3d Add usz alias for std::size_t 2020-12-18 12:23:53 +03:00
Megamouse
03ad5c6830
Salvaging code (#9432)
* Minor input refactoring

* fix sys_config_unregister_io_error_listener log message

* Remove unused variables in RepaintTextColors

Co-authored-by: GermanAizek <GermanAizek@yandex.ru>
2020-12-14 14:33:43 +01:00
Megamouse
35ecd00559 Remove BOM from new files 2020-12-14 09:01:07 +03:00
Luke Barr
cb8ef46ec7
Initial DualSense Support (#9308)
* Initial DualSense Support

* Add Vibration Support

* Add CRC32 Validation to Incoming Bluetooth Packets
Cleanup report sizes

* Consistency, remove button comments, add two buttons.

Co-authored-by: Ani <ani-leo@outlook.com>
2020-12-13 00:00:45 +01:00
Nekotekina
6e05dcadb6 Reduce std::numeric_limits dependency
Please, stop pretending...
You need these templates for generic code.
In other words, in another templates.
Stop increasing compilation time for no reason.
2020-12-12 12:35:18 +03:00
Nekotekina
aa3aef4beb std::chrono cleanup: always use steady_clock 2020-12-11 19:01:56 +03:00