-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Schema for button map | ||
|
||
## buttonmap.xml | ||
|
||
A button map has the following properties: | ||
|
||
1. Button map schema version | ||
2. List of controllers | ||
|
||
A controller has the following properties: | ||
|
||
1. Add-on ID | ||
2. Libretro device type (from the libretro API) | ||
3. Libretro subclass index (defined by the core) | ||
4. List of features | ||
|
||
The purpose of the properties is to assign the libretro device type and subclass to the specified add-on ID. | ||
|
||
A `<feature>` tag maps a feature name to a libretro constant. It has the following properties: | ||
|
||
1. Feature name (from the kodi-game-controllers repo) | ||
2. Libretro constant (from the libretro API) |