github Zibri/VICE r44561o
r44561 OpenSUSE TumbleWeed

latest releases: r46118, r46118o, r46118u...
2 years ago

Changelog:

r44561 | compyx | 2023-09-30 13:54:53 +0000 (Sat, 30 Sep 2023) | 2 lines

SDL: remove some unused joystick-related code

------------------------------------------------------------------------
r44560 | compyx | 2023-09-30 07:47:42 +0000 (Sat, 30 Sep 2023) | 6 lines

Joystick: remove logging of errors for JOY_ACTION_MAP / JOY_ACTION_UI_ACTIVATE

We set the mapping's `action` member when registering a button/axis/hat mapping
and these actions do not require further processing (no arguments for these
actions), so we can simply "handle" them with a NOP in their respective case.

------------------------------------------------------------------------
r44559 | compyx | 2023-09-29 12:53:24 +0000 (Fri, 29 Sep 2023) | 2 lines

Joystick: remove comment

------------------------------------------------------------------------
r44558 | compyx | 2023-09-29 08:06:00 +0000 (Fri, 29 Sep 2023) | 21 lines

Joystick: refactor and fortify vjm file parser

Split massive single function with nested switch/case/if/else statements with
a lot of duplicattion into separate, more managable functions. Get rid of magic
numbers as much as possible by adding proper enum types. Get rid of deprecated
function calls like `strtok()` and `atoi()`.
Add proper input validation and proper error messages; don't assume input is
valid and just silently fail.
Prefix `joystick_action_t` symbols with `JOY_ACTION_`: symbols like `NONE`,
`KEYBOARD` and `JOYSTICK` are too general to be used in an often included header
file.
Add preliminary support for handling BALL input type, and for using keyboard
flags to allow for shifted keys (a third optional argument for key press
mappings is parsed and stored: flags).
Document absense of code handling certain input types/actions (JOY_INPUT_BALL,
JOY_ACTION_UI_ACTIVATE, JOY_ACTION_MAP). The parser will log an error when
encountering these values in a file with a "unimplemented" message.
The old parser is still available: comment out `#define NEW_ENTRY_PARSER` to
disable new parser code and reenable old parser code.


------------------------------------------------------------------------
r44557 | gpz | 2023-09-26 01:12:55 +0000 (Tue, 26 Sep 2023) | 1 line

tweak danish symbolic keymap, patch by uffe jakobsen
------------------------------------------------------------------------

Don't miss a new VICE release

NewReleases is sending notifications on new releases.