Commit graph

36 commits

Author SHA1 Message Date
briaguya
19d2e38499
Allow configuring menu accept/apply buttons (#385)
* feat: allow configuring menu accept/apply buttons

* Update assets/icons/Reset.svg

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>

---------

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
2024-07-05 21:19:31 -04:00
briaguya
208e3044fc
fix: use sdl userevent to set await_stick_return when scanning for input (#413) 2024-06-22 22:06:25 -04:00
David Chavez
19fcd9bf31
Update to latest N64ModernRuntime (#392)
- updates to new controller changes
- updates to new render context changes
- updates to new controller number changes
- fix for crash on save thread
2024-06-12 09:40:14 +02:00
briaguya
1c00519938
fix: enable key repeat in rmlui menu (#364) 2024-06-05 13:03:06 +02:00
David Chavez
bec699f0bd
Migrate to N64ModernRuntime (#354) 2024-06-05 01:12:43 +02:00
briaguya
d4898f2316
feat: allow configuring menu toggle button (#181)
* feat: allow configuring menu toggle button

* fix: hide toggle menu binding config for keyboard

* fix: assign defaults for inputs that don't exist in `controls.json`
2024-05-26 09:58:51 -04:00
Wiseguy
3c34fa63c1
Adds analog camera and other controller options (#264)
* Added analog cam and camera inversion options to menu, initial implementation of analog cam
* Automatically suppress inputs on the right stick while analog cam is active
* Return to automatic camera mode when pressing target
* Add aiming inversion options
* Add analog camera inversion options
2024-05-26 09:34:26 -04:00
Mr-Wiseguy
83b196a4e5 Move rmlui reload to F10 and make F11 toggle fullscreen 2024-05-04 15:42:19 -04:00
Mr-Wiseguy
9ff794f502 Suppress enter key when alt is held to prevent stray inputs when using the fullscreen shortcut 2024-05-04 15:28:54 -04:00
thecozies
7491eabde0
Cont/kb/mouse focus priorities and behaviors reworked (#15)
* ensure focus after cont/kb input + enable mouse on SDL_QUIT + force focus to prompt while open

* only force prompt focus if mouse is not active

* default kb input, mouse click switches to kb focused input
2024-05-02 01:51:09 -04:00
thecozies
1ec20de2f5
Show quit game prompt when attempting to close window (#13) 2024-04-30 10:30:39 -04:00
Mr-Wiseguy
b28614b128 Implemented mouse aiming 2024-04-26 01:48:26 -04:00
Mr-Wiseguy
a6e34bb49b Changes to fix compilation on linux 2024-04-25 03:04:14 -04:00
Mr-Wiseguy
68ee43f5ac Implemented new thread scheduling logic that doesn't need a central scheduler thread, removed all uses of atomic waits 2024-04-25 02:57:06 -04:00
thecozies
26117389aa gyro sensitivity option + update range inputs styling 2024-04-21 12:14:41 -05:00
thecozies
0fd4f8b859 added cur_controllers mutex for rumble safety 2024-04-16 10:58:43 -04:00
thecozies
51759611e1 control rumble intensity to mimic n64 rumble pak & separate rumble from input 2024-04-16 10:58:43 -04:00
Mr-Wiseguy
4c5f48a2c3 Add check for programmable sample positions for MSAA settings, fixed fullscreen option going out of sync with alt+enter shortcut 2024-04-01 03:19:16 -04:00
Mr-Wiseguy
40d0b20939 Changed default controller mapping to have alternate inputs for items and fairy 2024-03-15 20:26:33 -04:00
Mr-Wiseguy
bc6b112992 Patched lens/telescope effect to not stretch in widescreen, fixed incorrect trigger icons in UI. 2024-03-14 00:44:47 -04:00
thecozies
0784db4988 cancel scanning input with back/escape 2024-03-12 08:35:58 -05:00
Mr-Wiseguy
0192cac272 Fixed cursor hiding lag, moved save file location to config folder 2024-03-12 00:27:20 -04:00
thecozies
e19e72ea62 controller input in ui 2024-03-04 11:50:11 -06:00
Mr-Wiseguy
57475d058b Implemented rumble, added control options menu with rumble strength and targeting mode 2024-03-04 02:13:12 -05:00
thecozies
24693c32c4 dpad visual + kb/cont toggle + general style updates 2024-02-24 21:57:51 -05:00
Mr-Wiseguy
e04865c715 Initial implementation of gyro aim with GamepadMotionHelpers for sensor fusion 2024-01-22 23:08:59 -05:00
Mr-Wiseguy
992bdb67e9 Save controls and graphics configs to files after editing and load them on startup 2024-01-21 19:21:58 -05:00
Mr-Wiseguy
6ebc7256eb Implemented rebinding inputs from UI (controller only so far) and built minimal UI for doing so 2024-01-15 21:06:52 -05:00
Mr-Wiseguy
ecfe2381b0 Prototype quicksave functionality, disabled for now 2024-01-13 01:39:41 -05:00
Mr-Wiseguy
5ee7eaed1f Split default input mappings by device, disabled input while menu is open, made config menu open with escape/select, made config menu close with escape 2024-01-08 03:38:05 -05:00
Mr-Wiseguy
31e9d729c2 Fixed missing function in input.cpp 2024-01-02 11:06:07 -05:00
Mr-Wiseguy
525092fd60 Cleaned up assets folder, added promptfont, started config menu UI 2023-12-29 16:49:26 -05:00
Mr-Wiseguy
86e701440c Patch light glow to use extended gbi, add right trigger to default bindings for R, update RT64 to fix lens of truth 2023-12-25 16:05:24 -05:00
Mr-Wiseguy
0a6b8d0da3 Add fullscreen shortcut 2023-12-17 16:32:13 -05:00
Mr-Wiseguy
971d728169 Input refactor to allow arbitrary bindings 2023-12-13 02:06:56 -05:00
Mr-Wiseguy
ec23ef02fd Added some more patch functionality, added recomp namespace 2023-11-24 17:10:21 -05:00