vkdoom_m/wadsrc/static/zscript/engine/ui/menu
Marcus Minhorst 2a5cce543b
Gamepad Improvements
* Cleanup: Alignment, long lines, Replace 0 with SDLK_UNKNOWN

* Gamecontroller api analogue input

* Added some button handling

* Added mapping for other buttons

* Added trigger events

* Added force_joystick flag

* Removed force_joystick flag

Rationale:
1. It was actually broken lol
2. I cannot think of a case where enabling this would be a useful thing for
gzdoom. If the user is using a gamecontroller, it is pointless. If they are
not using a gamecontroller, it will just default to using the joystick api.
If they are not using a gamecontroller, but SDL thinks they are, it is an
SDL bug, and will be reported and fixed

* Modified default mapping

* Added analogue to digital threshold

* Added analogue response curve

* Per axis settings

* Fixed controller reconnect

* Added threshold and curve to IJoystickConfig
Enabled saving of settings

* Added stubs

* Cleanup

Constants are no longer defines.
Constants are mostly shared between backends.
Moved some logic to m_joy

* Implemented xinput stubs

* Implemented dinput stubs

* Implemented ps2 stubs (untested)

* Fixed inclusive check

* Implemented osx stubs (untested)

* Fixed curve implementation

No longer savable, I screwed the curve function up.
I though it needed 2 control points, but it needs 4.
Need to re-do controller settings :(

* Now using CubicBezier struct

* Fixed SetDefaultConfig to match xinput behavior

* Expanded gamepad CCMD

* Rename enum JoyResponseCurve to EJoyCurve

* Initial menu implementation

* Fixed SDL controller setting saving

* SDL gamepads can now actually be disabled

* Fixed initial controller connect of some versions of SDL

* Spelling error

* Enable gamepad by default

* Fixed segfault on some versions of SDL

* Only block keydown
2025-07-05 17:41:40 -03:00
..
search fix options search when menus are defined recursively 2021-09-03 19:40:55 +02:00
colorpickermenu.zs - made adjustments for proper int type promotion to allow internal ZScript to compile with it on. 2022-08-03 10:26:29 +02:00
custommessagebox.zs Allow custom MessageBox menu selector 2023-08-02 00:37:33 -04:00
imagescroller.zs Added animation support for OptionMenus 2022-11-25 00:39:05 +01:00
joystickmenu.zs Gamepad Improvements 2025-07-05 17:41:40 -03:00
listmenu.zs Fix bug where down arrow does nothing after clicking the main menu 2024-09-16 16:40:43 -04:00
listmenuitems.zs Fixed missing lines in listmenuitems 2024-01-30 14:46:22 -05:00
loadsavemenu.zs Fix load/save menus not starting scrolled to the selected entry 2024-09-16 17:25:19 -04:00
menu.zs Gamepad Improvements 2025-07-05 17:41:40 -03:00
menucustomize.zs - Backend update from Raze 2022-06-06 12:09:29 +02:00
menuitembase.zs - use original menu spacing for skill and episode menus if all elements are patches. 2021-08-10 21:08:26 +02:00
messagebox.zs Allow custom MessageBox menu selector 2023-08-02 00:37:33 -04:00
optionmenu.zs Added animation support for OptionMenus 2022-11-25 00:39:05 +01:00
optionmenuitems.zs Added two option menu items for double binds 2025-06-04 08:48:16 -03:00
reverbedit.zs - Backend update from Raze 2022-06-06 12:09:29 +02:00
textentermenu.zs - Backend update from Raze 2022-06-06 12:09:29 +02:00