This is needed since in azerty the number keys are only activated when holding shift and if you bind them to the normal ones (& for 1) you have the problem that it doesn't work when you press shift and it doesn't work for quick swapping inside the inventory. This PR fixes both of those issues.
I had to add a separate config option that only shows on Linux since I couldn't find a good way to detect the keyboard layout.
This is needed since in azerty the number keys are only activated when holding shift and if you bind them to the normal ones (& for 1) you have the problem that it doesn't work when you press shift and it doesn't work for quick swapping inside the inventory. This PR fixes both of those issues. I had to add a separate config option that only shows on Linux since I couldn't find a good way to detect the keyboard layout.