Commit graph

49 commits

Author SHA1 Message Date
Viktor Szépe
168f763ee6 Merge remote-tracking branch 'origin/master' into typos3 2024-01-16 00:09:00 +00:00
Viktor Szépe
8f8a15827f Fix more typos 2024-01-15 23:26:53 +00:00
german77
194746c558 service: hid: Create abstracted pad structure 2024-01-11 19:35:04 -06:00
Narr the Reg
146975c880 hid_core: Move hid to it's own subproject 2024-01-05 11:41:15 -06:00
german77
6788dffa53 core: hid: Split SL and SR buttons 2023-11-11 21:03:15 -06:00
Narr the Reg
5dd7748371 yuzu: Make 3d cube with joycon shape 2023-05-08 12:06:39 -06:00
Narr the Reg
94c16132ba yuzu: Add motion preview to controller input 2023-05-05 13:53:38 -06:00
german77
817d7c302a yuzu: config: Draw turbo buttons with a different color 2023-02-01 12:42:06 -06:00
Narr the Reg
2b87d9e674 yuzu: Update controller colors and button names 2023-01-19 18:05:20 -06:00
Morph
2b87305d31 general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-23 05:55:32 -04:00
Narr the Reg
2198237e42 yuzu: ui: Improve battery symbols 2022-02-02 13:18:06 -06:00
german77
99485a06a7 core/hid: Remove usage of native types, fix a couple of errors with motion 2021-11-24 20:30:28 -06:00
german77
ac0154259a settings: Remove includes of core.h 2021-11-24 20:30:27 -06:00
german77
0cf8201c5d settings: Fix controller preview not displaying the correct controller 2021-11-24 20:30:27 -06:00
german77
8517d89be0 core/hid: Rename NpadType to NpadStyleIndex 2021-11-24 20:30:27 -06:00
german77
4736326a05 second commit lion review 2021-11-24 20:30:26 -06:00
german77
a8852024b6 settings: Fix Debug controller type options 2021-11-24 20:30:26 -06:00
german77
9f91335a71 kraken: Address comments from review
start lion review
2021-11-24 20:30:26 -06:00
german77
012691087a core/hid: Rework battery mappings 2021-11-24 20:30:26 -06:00
german77
d813cbd592 Morph review first wave 2021-11-24 20:30:25 -06:00
german77
6774c7988b configuration: Migrate controller settings to emulated controller 2021-11-24 20:30:25 -06:00
german77
00f654cd22 core/hid: Only signal when needed 2021-11-24 20:30:24 -06:00
german77
88cb39be9f hid: Fix controller connection/disconnection 2021-11-24 20:30:24 -06:00
german77
0292fe0198 kraken: Fix errors from rebase and format files 2021-11-24 20:30:24 -06:00
german77
66cf94709a core/hid: Add output devices 2021-11-24 20:30:24 -06:00
german77
28ede3e11a yuzu: Update frontend 2021-11-24 20:30:23 -06:00
Romain Failliot
deb8c58ce8 Fix a few warnings
- configure_input_player_widget.cpp: always better to use `const auto &`
  whenever possible
- profiler.cpp: `ev->pos()` is deprecated, replace with
  `ev->position()`, which returns floats, thus the addition of
  `.toPoint()` (same as what's happening in `pos()`)
- game_list.cpp: `QString::SplitBehavior` is deprecate, use `Qt::`
  namespace instead
2021-10-11 19:21:17 -04:00
german77
3333d96b46 input_common/tas: new update method 2021-09-18 23:22:57 +02:00
german77
d71f067db8 input_common/tas: Document the main class 2021-09-18 23:22:48 +02:00
german77
d552f84322 input_common/tas: Add swap controller 2021-09-18 23:22:42 +02:00
MonsterDruide1
1b67085cda input_common/tas: Fallback to simple update 2021-09-18 23:22:30 +02:00
german77
bba1ab83d6 config: Move TAS options to it's own menu 2021-09-18 23:22:30 +02:00
MonsterDruide1
31068a63a9 input_common/tas: Base playback & recording system
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called.

The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate.

Co-authored-by: Naii-the-Baf <sfabian200@gmail.com>
Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
2021-09-18 23:22:00 +02:00
Valeri
e8314deee0 Replace QPoint with QPointF where applicable
Previously, floats were implicitly cast to integers
2021-08-19 23:16:58 +03:00
german77
ff46d36f8e settings_ui: Add emulated joystick position dot to controller preview 2021-08-04 11:46:54 -05:00
german77
a5f5e8edb1 settings: Disable controller preview if controller is not active 2021-05-30 10:57:20 -05:00
bunnei
0ff94cb0cc Merge pull request #4940 from german77/nativeGC
HID: Implement GC controller in game
2021-02-15 10:32:19 -08:00
bunnei
cba1eb8f32 Merge pull request #5893 from lioncash/input
configure_input_player_widget: Minor cleanup
2021-02-10 10:55:59 -08:00
lat9nq
187d76e48e configure_input_player_widget: Silence unused variable warnings
Prevents clang 11 from throwing an error since these variables are
unused.
2021-02-09 22:09:23 -05:00
Lioncash
e4e97e5577 configure_input_player_widget: Reduce duplication of array accessors where applicable
Reduces the amount of code to read in expressions a little bit by
separating constituents out a little.
2021-02-09 13:15:05 -05:00
Lioncash
a903d18db2 configure_input_player_widget: Avoid nontrivial copies where applicable
Previously a function was copying an array of 20 std::string instances
by value.
2021-02-09 13:15:03 -05:00
german
20d98fc773 Use GC image 2021-02-09 08:12:21 -06:00
Jatoxo
4bf6e49bda Settings: Add depth to Joysticks on Pro Controller preview (#5894)
* Add some depth to ProJoysticks

* address comments

* clang

* address nits

* fix wrong inner_offset when offset.x was 0
2021-02-08 21:06:37 -08:00
german
38d14331f5 Add GC controller animation 2021-02-07 00:15:24 -06:00
german
9bba095b2b Refresh controller only when necessary 2021-02-06 09:43:42 -06:00
german
cbe925c31a Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mouse 2021-02-06 09:43:42 -06:00
german
e448ba4281 Add controller window and single joycon top view 2021-02-06 09:43:42 -06:00
german
ace7b59863 Replace text with vectors 2021-02-06 09:43:42 -06:00
german
93ac87f29e Make settings controller image change with controller input 2021-02-06 09:43:41 -06:00