Commit Graph

45 Commits

Author SHA1 Message Date
ae57a99d7d core: hid: Split SL and SR buttons 2023-11-11 21:03:15 -06:00
e1838f51a3 yuzu: Make 3d cube with joycon shape 2023-05-08 12:06:39 -06:00
46e835f2d6 yuzu: Add motion preview to controller input 2023-05-05 13:53:38 -06:00
ce1895497d yuzu: config: Draw turbo buttons with a different color 2023-02-01 12:42:06 -06:00
18c9f8eeed yuzu: Update controller colors and button names 2023-01-19 18:05:20 -06:00
99ceb03a1c 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
064aa3de11 yuzu: ui: Improve battery symbols 2022-02-02 13:18:06 -06:00
71f9b90dd9 core/hid: Remove usage of native types, fix a couple of errors with motion 2021-11-24 20:30:28 -06:00
a17550be98 settings: Remove includes of core.h 2021-11-24 20:30:27 -06:00
d14e74132c settings: Fix controller preview not displaying the correct controller 2021-11-24 20:30:27 -06:00
5d0f3540c4 core/hid: Rename NpadType to NpadStyleIndex 2021-11-24 20:30:27 -06:00
77fa4d4bf6 second commit lion review 2021-11-24 20:30:26 -06:00
730f078302 settings: Fix Debug controller type options 2021-11-24 20:30:26 -06:00
2b1b0c2a30 kraken: Address comments from review
start lion review
2021-11-24 20:30:26 -06:00
064ddacf49 core/hid: Rework battery mappings 2021-11-24 20:30:26 -06:00
b564f024f0 Morph review first wave 2021-11-24 20:30:25 -06:00
af55dd1935 configuration: Migrate controller settings to emulated controller 2021-11-24 20:30:25 -06:00
601ac43495 core/hid: Only signal when needed 2021-11-24 20:30:24 -06:00
4d308fd0b4 hid: Fix controller connection/disconnection 2021-11-24 20:30:24 -06:00
e0da5c1bbc kraken: Fix errors from rebase and format files 2021-11-24 20:30:24 -06:00
06a5ef5874 core/hid: Add output devices 2021-11-24 20:30:24 -06:00
c405a19b73 yuzu: Update frontend 2021-11-24 20:30:23 -06:00
818651909f 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
5401cf6eb5 input_common/tas: new update method 2021-09-18 23:22:57 +02:00
33a1d790e8 input_common/tas: Document the main class 2021-09-18 23:22:48 +02:00
e6c4bf52f0 input_common/tas: Add swap controller 2021-09-18 23:22:42 +02:00
f078b15565 input_common/tas: Fallback to simple update 2021-09-18 23:22:30 +02:00
c01a872c8e config: Move TAS options to it's own menu 2021-09-18 23:22:30 +02:00
b42c3ce21d 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
d82fc52cea Replace QPoint with QPointF where applicable
Previously, floats were implicitly cast to integers
2021-08-19 23:16:58 +03:00
1fb158ce90 settings_ui: Add emulated joystick position dot to controller preview 2021-08-04 11:46:54 -05:00
ac48e059bc settings: Disable controller preview if controller is not active 2021-05-30 10:57:20 -05:00
b53b50adec Merge pull request #4940 from german77/nativeGC
HID: Implement GC controller in game
2021-02-15 10:32:19 -08:00
3e6e0d8f13 Merge pull request #5893 from lioncash/input
configure_input_player_widget: Minor cleanup
2021-02-10 10:55:59 -08:00
0e004269a9 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
864762cac9 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
5c7c212f61 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
bcd4e4f650 Use GC image 2021-02-09 08:12:21 -06:00
2e32ab4e0b 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
8893b766c3 Add GC controller animation 2021-02-07 00:15:24 -06:00
d6a0975e5d Refresh controller only when necessary 2021-02-06 09:43:42 -06:00
c9597af39d Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mouse 2021-02-06 09:43:42 -06:00
a7f9983563 Add controller window and single joycon top view 2021-02-06 09:43:42 -06:00
ea1f656d7e Replace text with vectors 2021-02-06 09:43:42 -06:00
481cd86722 Make settings controller image change with controller input 2021-02-06 09:43:41 -06:00