(2022-01-28, 14:22)KOPRajs Wrote: I can create the PR if needed but it seems a little over-complicated to fork the repo just to add an icon.
That's kinda how things are built these days. Pretty much everything in Team Kodi's ecosystem that touches GitHub is done by PR. The learning curve is kinda steep, which is why I'm offering to do the PR for you. But it's also kinda satisfying to learn the tools for collaborating in the code community.
(2022-01-28, 14:22)KOPRajs Wrote: The logo is official from Picodrive and the photo is from Wikipedia, if there is any copyright concern.
This is handled by a <disclaimer> tag in addon.xml. See how it's done:
https://github.com/kodi-game/game.libret...xml.in#L31
(2022-01-18, 15:00)KOPRajs Wrote: EDIT:
Possible configuration for DOSbox:
I change the vertical list from players to peripherals. Here's how it looks for DOSBox now, after changing the 4-player joystick to the two 2-player joysticks:
The idea is that a "peripheral" list could be used for both ports and player profiles. Instead of horizontal "Ports" you'd have horizontal "Players".
Also of note is the length of controller driver names. I've seen driver names about 1.5x the length of the "Xbox 360-compatible controller" name.
(2022-01-18, 15:00)KOPRajs Wrote: - We can even show the keyboard line only if there is a keyboard port available. This way we don't need the keyboard and mouse on/off switches in settings anymore.
Eventually I'll detect whether to show the mouse and keyboard peripherals if input arrived from the peripheral since Kodi was started. That way, starting on a touchscreen or NVidia Shield won't show keyboard/mouse. If a keyboard was connected, but a key press is just now occurring, then it'll be like plugging in a keyboard and the keyboard peripheral will appear in the GUI (same for mouse input).
(2022-01-18, 15:00)KOPRajs Wrote: - I do not consider supporting more than 1 keyboard and 1 mouse. I'm not sure if it would be even possible on all platforms.
We only have one keyboard port and one mouse port. It's possible to expose multiple keyboards to the emulator, using controller ports that only accept a keyboard. However, then I guess you'd call the keyboards controllers.
Keyboard/mouse/controller is specifically a port type abstraction used in topology.xml. The emulator sees a single keyboard port, a single mouse port, and multiple controller ports. This is the level where keyboards are considered controllers. It's important because that's how the horizontal port list is formed - first a virtual keyboard port (if a keyboard appears in topology.xml), then then a virtual mouse port (if a mouse appears in topology.xml), then the controller ports in order of ID as they appear in topology.xml.
Kodi has similar peripheral logic when building the vertical peripherals list. If a key has been pressed since startup, then a keyboard appears connected. Same for mouse. Then the controller peripherals in Operating System order.