feat: enhance emulator configuration and controller support

- Refactored built-in presets in configurator.ts to improve organization and added new configurations for various emulators.
- Implemented caching for scraped cover URLs in scraper.ts and added functionality to apply cached covers to game entries.
- Updated IPC handlers in ipc.ts to support caching of cover URLs.
- Enhanced gamepad navigation in useGamepadNav.ts for better user experience with controller inputs.
- Improved controller detection and button labeling in ControllerPage.tsx to support PlayStation, Xbox, and Switch controllers.
- Added accessibility features to game cards in Dashboard.tsx and LibraryPage.tsx for keyboard navigation.
- Introduced a new presets.json file with recommended configurations for various emulators.
- Updated styles.css to enhance focus visibility for keyboard and controller navigation.
This commit is contained in:
miles committed 2026-07-09 21:31:39 -05:00
1 parent 9a3002010d
commit bd8b83a02f
11 files changed
+477 -158

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ const api = {
clearRecent: (): Promise<boolean> => ipcRenderer.invoke('games:clear-recent'),
scrapeArt: (title: string, platform: string): Promise<string | undefined> =>
ipcRenderer.invoke('games:scrape-art', title, platform),
cacheCovers: (entries: { romPath: string; coverUrl: string }[]): Promise<boolean> =>
ipcRenderer.invoke('games:cache-covers', entries),
},
bios: {