diff options
| author | 2021-11-27 11:52:08 +0100 | |
|---|---|---|
| committer | 2021-11-27 11:52:08 +0100 | |
| commit | 564f10527745f870621c08bbb5d16badee0ed861 (patch) | |
| tree | e8ac8dee60086facf1837393882865f5df18c95e /src/common/settings.h | |
| parent | Merge pull request #7431 from liushuyu/fix-linux-decoding (diff) | |
| parent | config: Remove vibration configuration (diff) | |
| download | yuzu-564f10527745f870621c08bbb5d16badee0ed861.tar.gz yuzu-564f10527745f870621c08bbb5d16badee0ed861.tar.xz yuzu-564f10527745f870621c08bbb5d16badee0ed861.zip | |
Merge pull request #7255 from german77/kraken
Project Kraken: Input rewrite
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index fa4aa8747..e4e049f67 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | #include <algorithm> | 7 | #include <algorithm> |
| 8 | #include <array> | 8 | #include <array> |
| 9 | #include <atomic> | ||
| 10 | #include <map> | 9 | #include <map> |
| 11 | #include <optional> | 10 | #include <optional> |
| 12 | #include <string> | 11 | #include <string> |
| @@ -560,25 +559,19 @@ struct Values { | |||
| 560 | Setting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"}; | 559 | Setting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"}; |
| 561 | 560 | ||
| 562 | Setting<bool> motion_enabled{true, "motion_enabled"}; | 561 | Setting<bool> motion_enabled{true, "motion_enabled"}; |
| 563 | BasicSetting<std::string> motion_device{"engine:motion_emu,update_period:100,sensitivity:0.01", | ||
| 564 | "motion_device"}; | ||
| 565 | BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"}; | 562 | BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"}; |
| 563 | BasicSetting<bool> enable_udp_controller{false, "enable_udp_controller"}; | ||
| 566 | 564 | ||
| 567 | BasicSetting<bool> pause_tas_on_load{true, "pause_tas_on_load"}; | 565 | BasicSetting<bool> pause_tas_on_load{true, "pause_tas_on_load"}; |
| 568 | BasicSetting<bool> tas_enable{false, "tas_enable"}; | 566 | BasicSetting<bool> tas_enable{false, "tas_enable"}; |
| 569 | BasicSetting<bool> tas_loop{false, "tas_loop"}; | 567 | BasicSetting<bool> tas_loop{false, "tas_loop"}; |
| 570 | BasicSetting<bool> tas_swap_controllers{true, "tas_swap_controllers"}; | ||
| 571 | 568 | ||
| 572 | BasicSetting<bool> mouse_panning{false, "mouse_panning"}; | 569 | BasicSetting<bool> mouse_panning{false, "mouse_panning"}; |
| 573 | BasicRangedSetting<u8> mouse_panning_sensitivity{10, 1, 100, "mouse_panning_sensitivity"}; | 570 | BasicRangedSetting<u8> mouse_panning_sensitivity{10, 1, 100, "mouse_panning_sensitivity"}; |
| 574 | BasicSetting<bool> mouse_enabled{false, "mouse_enabled"}; | 571 | BasicSetting<bool> mouse_enabled{false, "mouse_enabled"}; |
| 575 | std::string mouse_device; | ||
| 576 | MouseButtonsRaw mouse_buttons; | ||
| 577 | 572 | ||
| 578 | BasicSetting<bool> emulate_analog_keyboard{false, "emulate_analog_keyboard"}; | 573 | BasicSetting<bool> emulate_analog_keyboard{false, "emulate_analog_keyboard"}; |
| 579 | BasicSetting<bool> keyboard_enabled{false, "keyboard_enabled"}; | 574 | BasicSetting<bool> keyboard_enabled{false, "keyboard_enabled"}; |
| 580 | KeyboardKeysRaw keyboard_keys; | ||
| 581 | KeyboardModsRaw keyboard_mods; | ||
| 582 | 575 | ||
| 583 | BasicSetting<bool> debug_pad_enabled{false, "debug_pad_enabled"}; | 576 | BasicSetting<bool> debug_pad_enabled{false, "debug_pad_enabled"}; |
| 584 | ButtonsRaw debug_pad_buttons; | 577 | ButtonsRaw debug_pad_buttons; |
| @@ -586,14 +579,11 @@ struct Values { | |||
| 586 | 579 | ||
| 587 | TouchscreenInput touchscreen; | 580 | TouchscreenInput touchscreen; |
| 588 | 581 | ||
| 589 | BasicSetting<bool> use_touch_from_button{false, "use_touch_from_button"}; | ||
| 590 | BasicSetting<std::string> touch_device{"min_x:100,min_y:50,max_x:1800,max_y:850", | 582 | BasicSetting<std::string> touch_device{"min_x:100,min_y:50,max_x:1800,max_y:850", |
| 591 | "touch_device"}; | 583 | "touch_device"}; |
| 592 | BasicSetting<int> touch_from_button_map_index{0, "touch_from_button_map"}; | 584 | BasicSetting<int> touch_from_button_map_index{0, "touch_from_button_map"}; |
| 593 | std::vector<TouchFromButtonMap> touch_from_button_maps; | 585 | std::vector<TouchFromButtonMap> touch_from_button_maps; |
| 594 | 586 | ||
| 595 | std::atomic_bool is_device_reload_pending{true}; | ||
| 596 | |||
| 597 | // Data Storage | 587 | // Data Storage |
| 598 | BasicSetting<bool> use_virtual_sd{true, "use_virtual_sd"}; | 588 | BasicSetting<bool> use_virtual_sd{true, "use_virtual_sd"}; |
| 599 | BasicSetting<bool> gamecard_inserted{false, "gamecard_inserted"}; | 589 | BasicSetting<bool> gamecard_inserted{false, "gamecard_inserted"}; |