mirror of
https://github.com/Andre-Bzk/twitch4steamdeck.git
synced 2026-11-15 09:33:09 +01:00
The Joystick API (/dev/input/js*) numbers buttons depending on driver and connection type. Xbox One controllers via Bluetooth with a Share button shifted X from button number 2 to 3, silently breaking the mapping. The evdev interface provides standardized BTN_* codes (BTN_SOUTH=A, BTN_NORTH=X, etc.) that remain consistent across Xbox, PlayStation, and Nintendo controllers over both USB and Bluetooth. js* devices remain the discovery path, while /sys/class/input/jsN is used to resolve the corresponding event* device. If the /sys lookup fails, JoystickFallbackReader falls back to the old Joystick API.
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "twitch4steamdeck",
|
|
"version": "0.4.3",
|
|
"description": "Twitch-Client für das Steam Deck (Live & VOD, Big-Screen-UI)",
|
|
"main": "out/main/index.js",
|
|
"author": "twitch4steamdeck",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"build": "electron-vite build",
|
|
"preview": "electron-vite preview",
|
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json",
|
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json",
|
|
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
|
"package": "electron-vite build && electron-builder --linux"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^12.8.0",
|
|
"hls.js": "^1.6.16",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/rebuild": "^4.0.3",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^20.14.0",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-react": "^4.3.1",
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^25.0.5",
|
|
"electron-vite": "^2.3.0",
|
|
"typescript": "^5.5.3",
|
|
"vite": "^5.3.1"
|
|
}
|
|
}
|