Commit Graph

61 Commits

Author SHA1 Message Date
kalaposfos13
5fdaea8072 Added support for mod key toggle key 2024-10-18 08:43:50 +02:00
kalaposfos13
b00ebf317a fix clang-format 2024-10-17 10:36:45 +02:00
kalaposfos13
1788aed1fd Added capslock support 2024-10-16 21:12:55 +02:00
kalaposfos13
92bbe40d8e added better mouse handling with config options 2024-10-16 14:54:59 +02:00
kalaposfos13
a76b79204d F6 = F7 + F9 2024-10-15 19:05:54 +02:00
kalaposfos13
4c6bee815e code cleanup and misc fixes 2024-10-15 08:45:40 +02:00
kalaposfos13
bd2acfa349 Mouse movement input is now off by default 2024-10-15 07:25:44 +02:00
kalaposfos13
f486663c89 added keybinds for "walk mode" 2024-10-14 20:47:14 +02:00
kalaposfos13
1ec9dc085a if keyboard config doesn't exist, autogenerate it 2024-10-14 18:53:09 +02:00
kalaposfos13
17e44de58f added support for mouse wheel (to buttons only) 2024-10-14 14:45:51 +02:00
kalaposfos13
ef7b0ad683 add numpad support i accidentally left out 2024-10-13 21:33:12 +02:00
kalaposfos13
b300ffe959 fix license and style 2024-10-13 10:49:54 +02:00
kalaposfos13
6a2eab3f65 added toggle for mouse movement input (f7) 2024-10-13 10:08:28 +02:00
kalaposfos13
607514eb86 added mouse config option 2024-10-13 09:48:37 +02:00
kalaposfos13
719a36c9e5 fix windows hating me 2024-10-13 07:58:36 +02:00
kalaposfos13
b15810d56f remove big commented out code blocks,
and fixed platform-dependent code
2024-10-13 07:40:21 +02:00
kalaposfos13
45f05c067d actually fix clang changing ini syntax
use relative path for the ini file
2024-10-12 22:31:59 +02:00
kalaposfos13
22e4ab866b clang-format fucked up the .ini file 2024-10-12 17:41:23 +02:00
kalaposfos13
98200221f5 Applied coding style fixes 2024-10-12 17:28:52 +02:00
kalaposfos13
f6d54bf75c fix waitEvent to correctly handle mouse inputs 2024-10-12 16:18:15 +02:00
kalaposfos13
37dcdcec39 fix messing up the merge 2024-10-12 16:15:22 +02:00
kalaposfos13
94c076494a final minor update before pull request 2024-10-12 15:50:28 +02:00
kalaposfos13
81e0f143cc added support for loading keyboard config from file 2024-10-12 15:49:45 +02:00
Exhigh
f139762c64
imgui/renderer: Hide Cursor on Idle Implementation (#1266)
Implement hide cursor on idle w/ idle timeout duration (configurable via GUI). While at it add always and never to hide the cursor options as well.

* Revert commit #1211 as to not interfere with the cursor states.
* Make hide cursor on idle as the default setting w/ timeout duration of 5 seconds to hide.
* Add an input tab in the settings page to add the hide cursor setting, with hiding the idle timeout box with respect to the cursor hide option.

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-08 09:47:42 +03:00
fireph
ce53c41205
Add support to click touchpad using back button on non PS4/5 controllers (#1258)
* Working touchpad support

Tested on PS5 controller plugged in via USB.

* fix lint

* Add support to click touchpad using back button on other controllers

Takes the back button and allows the user to change the behavior of how it clicks the touchpad. The current options are left, right, center, and none.

* add description text

* make more generic so translations can be supported in combobox

* fix lint

* linter again

* support back button to touchpad for spacebar as well

* linter at it again
2024-10-08 09:15:30 +03:00
tGecko
ec6579cb4f
Hide cursor on key/button press (#1211) 2024-10-04 08:49:18 +02:00
squidbus
398019867b
sdl: Fix use of functions that now return SDL_bool (#1160) 2024-09-30 06:47:55 +03:00
Lander Gallastegi
a984d44fd3
Swapchain recreation and window resizing (#933)
* Always present acquired swapchain images

Always present acquired swapchain images in order to be able to acquire them again.

fix #865

* Recreate swapchain if window is resized

* Respect aspect ratio when blitting to frame

* Make SDL window resizable

* clang-format

* designator order (building with gcc)

Fix /shadPS4/src/video_core/renderer_vulkan/vk_instance.cpp:314:9: error: designator order for field ‘vk::PhysicalDeviceVulkan12Features::samplerMirrorClampToEdge’ does not match declaration order in ‘vk::PhysicalDeviceVulkan12Features’

* Clear frame before blitting

* clang-format

* Revert "designator order (building with gcc)"

There already is a PR opened for this.

This reverts commit 7f8ccf4b1e.
2024-09-25 12:43:08 +03:00
georgemoralis
dd61c2a0d1 Revert "Add UI to configure keyboard-to-controller mapping (#308)"
This reverts commit fdb13a3b90.
2024-09-11 12:56:27 +03:00
Vasyl_Baran
fdb13a3b90
Add UI to configure keyboard-to-controller mapping (#308)
* Add UI to configure keyboard-to-controller mapping

* Add an optional "---fix" argument to format-checking script

* clang fix

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-09-11 08:51:18 +03:00
Vinicius Rangel
035cb3eeaa
Dear ImGui Implementation (#598)
* added imgui as dependency

* imgui renderer/basic input implementation

* imgui: add layers system

Add video info layer to show fps. Press F10 to toggle it.

* imgui: add custom imgui config

* imgui: gamepad capture, stopping propagation

* imgui: changed config & log file path to use portable dir

* videoout: render blank frame when video output is closed

required to render imgui even when game has no video output

- fixed merge compile-error
2024-09-08 22:50:32 +03:00
Daniel R.
ffd0f7b53a
core/libraries/save_data: Implement wildcard searches on sceSaveDataDirNameSearch (#817)
* libraries/save_data: Implement wildcards and params

* clang-format
2024-09-07 00:01:00 +03:00
counter185
4e6e90dfb9 add touchpad support, auto reconnect 2024-08-28 13:48:50 +02:00
SolidStateDj
7ecc1d3be0 Add a toggle fullscreen button
Assigns F11 as the key for toggling fullscreen.
2024-08-26 18:27:31 -04:00
georgemoralis
3e8d7c2040 possible R2/L2 fix 2024-08-22 19:43:45 +03:00
counter185
bb159eafb9
Basic gamepad support through SDL (#407)
* Add basic gamepad support through SDL

* lightbar, vibration, code style changes

* okay fine

* one day clang format will finally pass
2024-08-13 12:54:08 +03:00
georgemoralis
4ffb812e94 more linux fix? 2024-08-09 00:02:25 +03:00
georgemoralis
13331cdda9 linux fix? 2024-08-09 00:02:25 +03:00
georgemoralis
5a68224a13 update submodules , fixed sdl update , rewrote config with new toml11 v4 2024-08-09 00:02:24 +03:00
georgemoralis
bd48e24c32 print git info to log as well 2024-08-01 01:11:58 +03:00
georgemoralis
62e501f31f print git info in windows title 2024-08-01 00:56:10 +03:00
TheTurtle
0d6edaa0a0
Move presentation to separate thread/improve sync (#303)
* video_out: Move presentation to separate thread

* liverpool: Better sync for CPU flips

* driver: Make flip blocking

* videoout: Proper flip rate and vblank management

* config: Add vblank divider option

* clang format

* videoout: added `sceVideoOutWaitVblank`

* clang format

* vk_scheduler: Silly merge conflict

* externals: Add renderdoc API

* clang format

* reuse

* rdoc: manual capture trigger

* clang fmt

---------

Co-authored-by: psucien <168137814+psucien@users.noreply.github.com>
2024-07-28 15:54:09 +02:00
raziel1000
a11ac5a687 ... 2024-07-26 07:59:55 +03:00
raziel1000
fa76a723ad Applied feedback from @raphaelthegreat 2024-07-26 07:59:35 +03:00
raziel1000
f35518d527 sdl window: Added game title (serial, title and app_ver) 2024-07-26 07:53:18 +03:00
squidbus
cf03743631 Restore old keybindings for Windows and Linux. 2024-07-21 22:36:12 +03:00
squidbus
a4fd0d6386 Remap SDL face buttons to be usable without a keypad. 2024-07-21 22:36:12 +03:00
squidbus
66fa29059c Add initial macOS support. 2024-07-21 22:36:12 +03:00
georgemoralis
134541bdcd submodules updates 2024-07-05 15:08:33 +03:00
georgemoralis
0ada442cbc
Stabilization8 (#218)
* disable configured flexible memory size (caused issues in some games)

* fixed case S_OR_B64 for blazing chrome

* submodules updates and fixes for latest SDL

* stubbed _sigprocmask (not handled and spams too much)

* added ReplaceOp case in Stencilop

* dummy ajm module added
2024-06-27 16:37:17 +03:00