Commit Graph

69 Commits

Author SHA1 Message Date
wheremyfoodat
630952f36b SDL/Qt: Better resizing & fullscreen support 2025-06-28 23:34:12 +03:00
wheremyfoodat
8604a98edf No need to call screen->show() twice 2024-12-29 00:30:31 +02:00
Daniel López Guimaraes
5f48028284 Qt: Fix Wayland support
Qt will only create a Wayland surface when show() is called on the main
window and on the ScreenWidget. Thus, call the function before creating
the GL context.

Doesn't cause regressions on XWayland, untested in other platforms.

Fixes #586
2024-12-28 22:19:17 +00:00
wheremyfoodat
cb8b13e129 Support GLES on desktop 2024-12-28 19:52:42 +02:00
wheremyfoodat
4ce0768ba1 Qt: Handle mouse move events properly (#678) 2024-12-10 00:54:06 +02:00
Thomas
6be642a118 Qt: put preferences and about in native spots on MacOS (#676) 2024-12-09 20:54:29 +02:00
Thomas
1d2429c3ea Qt UI: fix menu bar on MacOS (#668)
MacOS requires a 'global' menubar to be available (e.g. QtMenuBar(nullptr)).
2024-12-06 18:04:00 +00:00
wheremyfoodat
bfdc6f0240 Qt: Add translation support (#664)
* Translation PoC

* i18n but better

* More Greek translation

* Add proper translation UI

* Linux CI: Install qt6-tools-dev
2024-12-04 21:08:33 +02:00
wheremyfoodat
28461a1d44 Qt: Add translation for main window name 2024-12-03 17:05:27 +02:00
wheremyfoodat
c3e3b2358d Qt: Fix "Show app version on window" option 2024-12-01 23:38:20 +02:00
Jonian Guveli
156328fbfb [WIP] Qt: Add config window controls (#655)
* Qt: Add config window controls

* Fix Windows build

* Fix audio slider

* Qt configs: Make thread-safe, properly update audio enable & renderdoc settings

* Qt configs: Add `connectCheckbox` function

* Qt configs: Add `connectCheckbox` function

* Rename spuLayout

* Add Discord RPC reloading

* Allow configuring the app icon

* Qt: Serialize icon & theme, properly set them

* Add rnap and rcow icons

* Qt: Fix forceShadergen config

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-12-01 23:06:47 +02:00
wheremyfoodat
4629314961 Add support for .ncch files 2024-11-19 00:48:42 +02:00
Samuliak
f322ba5102 Merge branch 'master' into metal2 2024-11-05 19:05:23 +01:00
wheremyfoodat
8fc6675a05 Sort out icons on desktop 2024-11-03 14:08:39 +02:00
Samuliak
d459f9c1c3 Merge branch 'master' into metal2 2024-11-01 08:43:40 +01:00
wheremyfoodat
818271c7ad Qt: Optionally remember window pos/size 2024-10-31 17:34:21 +02:00
SamoZ256
779e30e3e5 Merge branch 'master' into metal2 2024-09-24 09:22:17 +02:00
wheremyfoodat
c694ce9a25 Improved git versioning 2024-08-20 13:20:14 +03:00
Jonian Guveli
dfc7b59de2 Get application version from git 2024-08-20 12:30:19 +03:00
wheremyfoodat
dbdf21b1ab Improve accelerometer algorithm 2024-08-16 17:54:15 +03:00
Samuliak
58e1a53699 metal: create renderer 2024-08-16 11:06:23 +02:00
wheremyfoodat
c772b1c702 Initial accelerometer support 2024-08-15 17:31:55 +03:00
wheremyfoodat
520e00c553 Qt: Add controller gyroscope 2024-08-14 22:57:45 +03:00
wheremyfoodat
da23ec1a06 Don't deinit SDL from non-SDL thread 2024-07-25 13:40:01 +03:00
Jonian Guveli
19b69bbdc2 Qt: Stop emuThread on closeEvent 2024-07-25 11:04:57 +03:00
wheremyfoodat
c319e59545 Resizing window on Qt (#556)
* Qt: Add screen resize

* Qt: Allocate screen on heap for setCentralWidget

* Fix header inclusion order

* Switch to std::function for resize callback

* rdeepfried
2024-07-23 23:13:14 +03:00
wheremyfoodat
186fd3b94b Qt: Shader editor now works 2024-07-14 16:06:52 +03:00
wheremyfoodat
d87477832b Qt: Initial shader editor support 2024-07-14 15:32:26 +03:00
wheremyfoodat
66bcf384f3 Qt: Add file patcher 2024-05-07 23:08:24 +03:00
wheremyfoodat
8c296905f4 Qt: Add support for dumping DSP firmware 2024-04-26 00:54:21 +03:00
wheremyfoodat
3b9490e633 Add controller support to Qt (#475)
* Add controllers to Qt

Co-Authored-By: Nadia Holmquist Pedersen <893884+nadiaholmquist@users.noreply.github.com>

* Remove debug logs

* Bonk

---------

Co-authored-by: Nadia Holmquist Pedersen <893884+nadiaholmquist@users.noreply.github.com>
2024-03-27 21:11:47 +02:00
Auxy6858
429dc2a944 Added rom path (#474)
* Added app icon to the window

* Added Roms path

Added an option to the config to set a folder that opens when selecting a game instead of having to navigate to the folder manually every time.

* Clear up PR

* Clear up PR

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-03-26 18:40:10 +02:00
Paris Oplopoios
3270cfe602 First step towards configurable keyboard mappings (#464)
* Configurable keyboard mappings

* Cleanup

* Cleanup

* Biggest mistake of my career

* format

* Fix naming convention

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-03-21 15:54:18 +02:00
wheremyfoodat
d459cb1d6c Get audio output working with LLE DSP (#419)
* Implement audio output

* Semi-proper audio output

* Add audio enable and vsync settings

* Add audio enable and vsync settings

* Optimize audio output a bit

* Make max ring buffer timeout smaller

* Make max ring buffer timeout smaller

* Revert to spinlocking for audio sync

* Sleep emulator thread if too many samples queued

* Fix Teakra submodule breaking

* Don't start audio device too soon

* Fix IWYU errors

* Fix compilation errors on GCC/Clang

* Ignore std::hardware_destructive_interference_size on Android NDK

* Fix more IWYU errors
2024-02-24 03:26:23 +02:00
wheremyfoodat
9cc3fc0c4c [Qt] Add touchscreen 2024-01-29 21:07:21 +02:00
wheremyfoodat
01b6380242 Remove global definition of badCheatHandle 2024-01-27 20:51:32 +02:00
wheremyfoodat
e3c9f0b219 [Qt] Implement circlepad 2024-01-27 20:11:53 +02:00
offtkp
a473a34794 Use message queues 2024-01-27 18:20:42 +02:00
offtkp
63f54478f0 Add cheat picker window 2024-01-27 17:01:02 +02:00
wheremyfoodat
75663d0601 More app folder utilities 2024-01-21 22:27:58 +02:00
wheremyfoodat
1ce414ef8c [Qt] Load ROMs via CLI arguments 2024-01-03 00:24:46 +02:00
wheremyfoodat
7c6b498918 [Qt] Add capability to load scripts from files 2023-12-16 17:18:52 +02:00
wheremyfoodat
6386605b97 We can now load lua scripts properly 2023-12-16 16:36:03 +02:00
wheremyfoodat
c57f2db6c0 [Qt] Add text editor 2023-12-16 15:51:45 +02:00
wheremyfoodat
a9a31c3306 Merge branch 'master' of https://github.com/wheremyfoodat/Panda3DS 2023-12-14 00:45:31 +02:00
wheremyfoodat
101cc4d0ac [Qt] Add separate configuration window for theme 2023-12-14 00:43:12 +02:00
wheremyfoodat
79079f35e2 [Qt] Preparations before making the Qt builds public 2023-12-13 23:24:43 +02:00
wheremyfoodat
1769783dc7 Add about menu 2023-10-30 22:49:32 +02:00
wheremyfoodat
7571e58ce5 [Qt] Add pink theme 2023-10-30 21:14:03 +02:00
wheremyfoodat
b0261234a6 [Qt] Properly update HID service 2023-10-30 20:53:41 +02:00