Commit Graph

6 Commits

Author SHA1 Message Date
Margen67
809dbd28cc
Upgrade checkout and upload-artifacts actions (#12880) 2024-10-14 18:54:02 -04:00
Vas Crabb
1147d8fc44 Revert "Set C++ standard to C++17 via environment for bgfx shader build CI job."
This reverts commit 63b00cabc3.
2023-09-08 05:14:21 +10:00
Vas Crabb
63b00cabc3 Set C++ standard to C++17 via environment for bgfx shader build CI job.
The SPIRV tools require C++17 but it isn't set anywhere in the build files supplied with bgfx
2023-09-06 01:42:50 +10:00
Vas Crabb
2498f2b7cf Miscellaneous fixes and refactoring:
ui/analogipt.cpp: Fixed bar graph display for fields with ranges
that wrap through zero.

emu/inputdev.cpp: Separateed analog axis deadzone and switch threshold
settings, reduced default deadzone, and fixed a potential division by
zero if the deadzone and saturation settings are equal.

emu/ioport.cpp: Fixed behaviour of absolute analog fields where range
passes through zero - it previously only worked for specific
combinations of mask, minimum and default.  Removed a workaround from
universal/getaway.cpp that is no longer necessary.

emu/input.cpp: Fixed unintuitive behaviour when an absolute field is
assigned an OR combination of a relative control folled by an absolute
control (e.g. Mouse X or Joy 1 LSX).  Also fixed reading axis input
sequences where an axis code is followed by a switch code (these can
only be produced by manually editing configuration files, not through
MAME's UI), and fixed the returned type when multiple relative axes sum
to zero.

osd/modules/input_dinput.cpp: Fixed hat switches being stuck in up
position when input is suspended in the background

taito/taitoio_yoke.cpp: Give throttle control a distinct type, and don't
auto-centre.

osd: Added option to select MIDI provider module (currently only
PortMidi and the dummy module are available).  Also put various things
in namespaces, and fixed builds including SDL sound module with native
Windows OSD.

emu/validity.cpp: Added check to catch I/O port fields using UI input
types.

emu/inpttype.ipp: Renamed inputs that were causing confusion.  "Bill"
and "Track" were causing confusion for translators and hence likely
causing confusion for many users, especially those who are not native
English speakers.  "Track" as an abbreviation for "Trackball" was
frequently being mistranslated, e.g. in the sense of a CD track
selection button or even in the sense of a railway track.  There's no
reason to abbreviate it.  "Bill" in the US English sense as a banknote
is too ambiguous and was causing confusion for translators.  It's better
to use the less ambiguous "Banknote".  Corrected Greek translations of
"Trackball".

Don't run GitHub Actions on issue template changes.
2023-01-28 08:16:53 +11:00
Vas Crabb
0d0afa21e2 Fixed a dumb typo in CI workflow and made task name shorter 2022-07-01 07:47:33 +10:00
Vas Crabb
1a79bbb5e7 Added GitHub actions workflow to build bgfx shaders and upload as an artefact. 2022-07-01 07:13:44 +10:00