JSON schema files for test input driver and netretropad
Description
JSON schema files for input test driver and the Remote Retropad check side.
I did not find any straightforward method to indicate numeric constants here in the schema, such as: https://github.com/libretro/RetroArch/blob/fee6ac3185c9be12aa2dffc192544e1a78adeab7/input/drivers_joypad/test_joypad.c#L46 for actions, or: https://github.com/libretro/RetroArch/blob/fee6ac3185c9be12aa2dffc192544e1a78adeab7/libretro-common/include/libretro.h#L317 for expected_button, without having to change the processing side, which I would not like to do, so writing test inputs will still be a bit inconvenient.
Schemas can be applied without error:
jsonschema test_input_driver_schema.json -i test_input_joypad.ratst
jsonschema netretropad_input_check_schema.json -i netretropad_all_inputs.ratst
Related Pull Requests
https://github.com/libretro/RetroArch/pull/16370#issuecomment-2008109373
Reviewers
@JesseTG
Whoops, I didn't notice this until just now. Sorry about that.
At any rate, looks good to me. Thank you!