Where they live
Each picture is a folder of plain text files and images in the devices folder of the program's data folder: %APPDATA%\JoystickGobloon\devices on Windows, ~/.config/JoystickGobloon/devices on Linux, or next to the program for a portable copy with its own settings. Folders go by brand and device, like devices\vkb\gladiator-nxt-evo-r. The program notices changes made by hand and loads them again within a few seconds.
gladiator-nxt-evo-r/
device.gob the device, the controllers it fits, its pictures and controls
inputs.gob which button, axis or hat each control sends
views/main.png the picture
device.gob
The program writes this file while you map, and keeps comments and order when it changes it, so it is safe to edit by hand too:
id = "vkb-gladiator-nxt-evo-r" # unique, lower case
name = "Gladiator NXT EVO (right)"
brand = "VKB"
credit = "Product images (c) VKB-Sim, used with permission" # shown under the picture
version = "1"
[[match]] # a connected controller this picture is for
vid = 0x231D # USB vendor id
name = "Gladiator EVO R" # part of the name it reports (pid = 0x0200 also works)
[[view]] # a picture; a device may have several (grip, base)
id = "main"
name = "Stick"
image = "views/main.png"
[[control]]
id = "hat_1"
name = "Hat 1"
kind = "hat" # button, trigger, hat, encoder, switch, lever, axis, stick
at = [419, 76] # its spot, in pixels of the picture
side = "right" # the side its card goes to on the Controller tab
# glyph = [520, 60] # where it is drawn when moved out with a line
# parts = ["up", "right", "down", "left", "push"] # a hat that clicks
Between two pictures that fit a controller equally well, the one whose name part names more of it wins, so "Gladiator EVO OT L" beats "Gladiator EVO". A second view needs its own picture in views/ and view = "<its id>" on the controls placed on it; the Input viewer then shows a tab for each view.