This simplifies the code in GameCubePane, and allows us to use the EXIDeviceType enum in error messages.
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.