<!-- SPDX-License-Identifier: GPL-2.0-only -->

# Contributing and licensing

xpadneo uses file-level licensing via SPDX identifiers.


## License scope

- Kernel driver code (files linked into the kernel module, especially `hid-xpadneo/src/**`) is licensed under
  **GPL-2.0-only**.
- Non-driver content (for example documentation, examples, tooling, and helper scripts) is generally licensed under
  **GPL-3.0-or-later**, unless a file states otherwise.


## Your contribution

By submitting a contribution, you agree that your changes are licensed under the license specified by the SPDX header
in each file you modify.

If you add a new file, you must add an SPDX license identifier at the top of that file and choose the license
appropriate for its scope.


## Reference

See `LICENSE.md` and the full license texts in:

- `LICENSES/LICENSE.gpl-2.0.txt`
- `LICENSES/LICENSE.gpl-3.0.txt`
