66 Commits

Author SHA1 Message Date
UnknownShadow200
aab9a6b383 Webclient: Properly try to support controller input 2024-08-28 07:14:40 +10:00
UnknownShadow200
b17281e3cd Webclient: Try to fix gamepads not being detected 2024-08-27 22:49:52 +10:00
UnknownShadow200
4cde887c24 Simplify backend type and expose Gfx.BackendType 2024-07-29 19:09:58 +10:00
UnknownShadow200
c981d8272f Try to avoid breaking input event backwards compatibility 2024-07-23 07:19:12 +10:00
UnknownShadow200
736e20d0d8 WIP on supporting custom controller defaults 2024-07-13 12:48:11 +10:00
UnknownShadow200
202e67c3dd IRIX: Fix dying with BadMatch error at XCreateWindow 2024-07-12 18:44:07 +10:00
UnknownShadow200
5be965131c Dreamcast: Wheel support for mice 2024-07-12 17:56:34 +10:00
UnknownShadow200
e7f9ab9797 Wii/Dreamcast: Display crosshairs at cursor position 2024-07-10 19:48:14 +10:00
UnknownShadow200
b39a537adf Fix touch input issues and compiling issues 2024-07-10 18:25:48 +10:00
UnknownShadow200
8b2f1aec5b PS consoles: Use more natural button bindings 2024-06-30 23:04:36 +10:00
UnknownShadow200
3b10190780 Tidy up gamepads code 2024-06-26 22:00:54 +10:00
UnknownShadow200
79a996d6cd Fix X11 error when closing the game on Linux 2024-06-26 19:53:19 +10:00
UnknownShadow200
8767f31d6e Simplify vsync and frame limiting code 2024-06-23 21:49:32 +10:00
UnknownShadow200
f3326f4f17 Consoles: Make Quit Game more stable 2024-06-20 22:14:42 +10:00
UnknownShadow200
924a19e078 Allow window backends to override window scale dimension units, e.g. for PS2 2024-06-18 20:44:09 +10:00
UnknownShadow200
09ba1e4017 WIP supporting launcher framebuffers with different sizes 2024-06-08 08:35:14 +10:00
UnknownShadow200
77e1786d29 Simplify graphics backend macros 2024-06-05 17:36:39 +10:00
UnknownShadow200
e13917ec44 Add Window_PreInit that's called before loading options and initing platform 2024-06-01 20:07:50 +10:00
UnknownShadow200
0a28e7fa7e Horizontal scroll wheel support (untested) 2024-05-23 18:17:05 +10:00
UnknownShadow200
30d3fe47a8 simplify overriding graphics backend 2024-05-22 19:47:19 +10:00
UnknownShadow200
a9929e52b0 Saturn: Double performance and fix timing sort of 2024-05-17 23:14:59 +10:00
UnknownShadow200
1e765919ea More multimedia keys 2024-05-17 18:31:59 +10:00
UnknownShadow200
7932a5be3c Use floats instead of doubles in more places 2024-04-26 20:42:12 +10:00
UnknownShadow200
e533f71e0f Controller inputs, add WIP port argument 2024-04-25 10:26:48 +10:00
UnknownShadow200
80abeb82ab Split up gamepad controller handling 2024-04-25 10:11:26 +10:00
UnknownShadow200
a76720d6a7 WIP onscreen keyboard in 3D mode 2024-04-11 23:11:29 +10:00
UnknownShadow200
37343b68d4 Optimise onscreen keyboard to only redraw framebuffer and not entire UI again 2024-04-11 22:29:05 +10:00
UnknownShadow200
7a7dcec05f First phase of refactoring gamepad input 2024-04-01 09:58:27 +11:00
UnknownShadow200
c1d19c5d07 Allow separately toggling touch GUI from touch input support, mainly for DS 2024-03-23 19:09:43 +11:00
UnknownShadow200
c4e8729034 Separate event for controller movement from pointer raw movement 2024-02-20 21:04:24 +11:00
UnknownShadow200
61e901ec10 Try to simplify launcher framebuffer drawing, hopefully doesn't break 2024-02-03 14:20:41 +11:00
UnknownShadow200
12c952a02a Rename WindowInfo to Window_Main 2024-01-20 11:57:23 +11:00
UnknownShadow200
6f41df9926 Consoles: Try to deinit some stuff on some consoles when exiting the game 2024-01-14 16:32:46 +11:00
UnknownShadow200
dda2f34523 Rename Window_Close to Window_RequestClose to better reflect what it does, also ignore game files in root directory for .gitignore 2024-01-14 15:25:12 +11:00
UnknownShadow200
0d24afb9b8 Webclient: Fix L/R and ZL/ZR being swapped 2023-12-21 20:47:32 +11:00
UnknownShadow200
d04c19ea4b Start moving entity model rendering away from Gfx_SetDynamicVBData 2023-11-08 20:43:14 +11:00
UnknownShadow200
fd612bd95a Add gamepad controller bindings for left stick and right stick press to Web, Android and Xbox builds 2023-09-25 18:18:18 +10:00
UnknownShadow200
18c15cc700 Webclient: Support joysticks and ZL/ZR buttons for gamepad 2023-09-02 17:46:16 +10:00
UnknownShadow200
1fce20a30a Webclient: Support controller input too 2023-09-01 20:43:05 +10:00
UnknownShadow200
8406571804 Separate gamepad Start/Select from Enter/Escape keys 2023-08-04 18:48:10 +10:00
UnknownShadow200
736d28946d Split up IPT enum into CCKEY and CCMOUSE enums
Also start building GameCube build with github actions again
2023-07-31 18:44:45 +10:00
UnknownShadow200
333e7dcc05 Bump android build gradle versions, also provide delta to Window_ProcessEvents for windowing backends that require knowing how much time has elapsed 2023-07-06 22:57:09 +10:00
UnknownShadow200
28aba23a1a Rename KEY enum to IPT enum
Given that KEY enum was being misused for e.g. KEY_LMOUSE
2023-06-22 18:22:58 +10:00
UnknownShadow200
e52b670b6e Move UTF8 encoding out of Platform and into String module 2022-12-04 16:27:46 +11:00
UnknownShadow200
ef40f872e0 Webclient: Support downloading to .mine/.schematic maps by attempting to show a 'save as' dialog in supported browsers
Currently this means chromium based browsers, and the page is https (as per the spec, it intentionally does not work for http pages)
2022-11-19 20:03:07 +11:00
UnknownShadow200
75f00743ff iOS: Implement saving map to external provider (e.g. iCloud) 2022-11-12 18:13:47 +11:00
UnknownShadow200
0e916bfeed Now write a spawn position to .mine files, also redesign webclient map downloading to be more consistent with other platforms and not rely on special CC_BUILD_WEB only code 2022-11-12 12:17:46 +11:00
UnknownShadow200
1a2f6f838d Align 'save file' to bottom instead, fix webclient compiling 2022-11-10 07:53:06 +11:00
UnknownShadow200
183acf7b0f Mobile webclient: Try to fix issue where webclient would end up stuck as unfocused, and pressing 'Back to Game' did nothing (e.g. after clicking OK to the 'ran out of memory' dialog in chrome on android)
You can still force focus to be regained by switching to another tab or triggering the on-screen keyboard somehow by e.g. trying to change an option - although that was pretty unintuitive
2022-10-22 22:23:05 +11:00
UnknownShadow200
5d8f9bf6da Improve open file dialog API
Allows filetype description on Windows/Linux
Avoids Menus.c needing to call internal webclient interop_SaveNode function
For texture packs in webclient: Avoid saving into temp file, then reading into a copy in memory, then writing the copy into texpacks folder. Now just saves directly into texpacks folder
2022-10-14 22:03:51 +11:00