Unity-Technologies / InputSystem

An efficient and versatile input system for Unity.
Other
1.43k stars 310 forks source link

Prevent SDL layouts from being created if a layout already exists #1924

Open jgcodes2020 opened 5 months ago

jgcodes2020 commented 5 months ago

Description

Unity's HID layout generator does not generate a layout if one already exists. I added this functionality to the Linux/SDL layout generator.

Changes made

Added a check to the SDL layout generator, preventing it from generating a layout if one exists already.

Checklist

Before review:

During merge:

unity-cla-assistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

ekcoh commented 1 month ago

Branch needs to be updated with changes from develop before it may be subject for QA and potential merge.