Repository navigation
Releases
Releases · fraypad-hq/fraypad
Fraypad v0.6.5
What's New in v0.6.5
Tray & Desktop UX
- Single-crate
trayfeature:fraypad-trayis now an optional[[bin]]insidefraypad(cargo install fraypad --features trayinstalls bothfraypadandfraypad-tray; defaultcargo install fraypadstays headless with zero GUI/D-Bus dependencies). - Gamepad-only (No KBM) toggle: Added a
Gamepad-only (No KBM)checkbox infraypad-traythat restarts tray-managedfraypadwith--no-kbmor manages a~/.config/systemd/user/fraypad.service.d/no-kbm.confdrop-in whenfraypad.serviceis active. - One-click
/dev/uinputsetup:fraypad-traydetects/dev/uinputpermission errors and shows Grant /dev/uinput access in the tray menu (preferringpkexecwhen launched without a terminal). - Desktop entry commands & single-instance lock: Added
fraypad-tray install-desktop/uninstall-desktopand$XDG_RUNTIME_DIR/fraypad-tray.lockto prevent duplicate tray icons.
Server & Reliability
- Boot Wi-Fi race fix: If
fraypad.servicestarts before Wi-Fi connects (0.0.0.0),fraypadre-probes the LAN IP lazily onpairsocket requests and PIN rotation. - Self-healing paths & clean uninstall: Uses bare
fraypad/fraypad-traywhen in/usr/binor/usr/local/bin, self-heals stale.service/.desktopExec=paths on startup, and removesfraypad.service.d/no-kbm.confduringfraypad uninstall-service. - Docs: Added
ufwandfirewalldUDP54321instructions toREADME.md.
Fraypad v0.6.4
What's New in v0.6.4
Desktop Tray Companion (fraypad-tray)
- Minimal system tray: Added
fraypad-tray(1.9 MB, excluded from the core workspace) using pure-Rust D-Bus (ksni) and a320×320borderless pixel-buffer popup (winit+softbuffer+qrcode). - Hover & click UX: Hovering the tray icon shows your LAN
IP:portand current 6-digit PIN; left-clicking opens or closes the centered QR + PIN popup. - Auto-attach & auto-detach: Connects to a running
fraypad/systemdservice via$XDG_RUNTIME_DIR/fraypad.sockor spawnsfraypadin the background if stopped. Automatically detaches when launched from a terminal (-f/--foregroundto stay attached). - Start on login & desktop entry: Added a Start on login checkbox in the tray menu (manages
~/.config/autostart/fraypad-tray.desktopwith the embeddedfraypad.svgicon) and bundled/usr/share/applications/fraypad-tray.desktopinto.deb,.rpm, andfraypad-binAUR packages.
Build & Packaging
- Smaller binaries: Enabled
opt-level = "z",lto = "fat",panic = "abort", andstrip = "symbols"across bothfraypad(576 KB) andfraypad-tray(1.9 MB). - crates.io:
fraypad-trayis now published on crates.io alongsidefraypad.
Fraypad v0.6.3
What's New in v0.6.3
Server & Service Management
systemduser service: Addedfraypad install-serviceandfraypad uninstall-serviceto set up and manage an auto-start~/.config/systemd/user/fraypad.service(WantedBy=default.target,Restart=on-failure).fraypad pair: Added a0600Unix control socket ($XDG_RUNTIME_DIR/fraypad.sock) so runningfraypad pairprints the current LAN IP, QR code, and rotating 6-digit PIN from a running server or background service.
Android & Packaging
- Brighter icon & steel launcher background: Lightened the dark slate mascot tones in
logo.svgand switched the Android launcher background to a steel radial gradient (#9EB4D8to#53668C) so the icon reads clearly on Android launchers and GitHub dark mode. - F-Droid Fastlane metadata: Added
fastlane/metadata/android/en-US/(descriptions, 512x512 icon, screenshots, and changelog14.txt). - Docs: Updated
README.mdandcrates/server_evdev/README.mdwith.deb,.rpm, AUR (fraypad-bin),install-rule,install-service, andpairinstructions.
Fraypad v0.6.2
What's New in v0.6.2
Server & Setup
- udev rule commands: Added
fraypad install-ruleandfraypad uninstall-ruleto install or remove/etc/udev/rules.d/99-fraypad.rules(usingTAG+="uaccess",OPTIONS+="static_node=uinput") and reloadudevadm, escalating automatically viasudo,doas, orpkexecwhen needed. - First-run
/dev/uinputprompt: On startup, if/dev/uinputfails with permission denied in an interactive terminal,fraypadprompts[y/N]to runinstall-ruleand retries immediately. Non-interactive runs exit with a hint to runfraypad install-rule.
Packaging & Release CI
.deb,.rpm, and AUR (fraypad-bin): Addedcargo-debandcargo-generate-rpmmetadata and a GitHub Actions release workflow that builds and attaches.deband.rpmpackages to each release and updatesfraypad-binon AUR.
Fraypad v0.6.1
What's New in v0.6.1
Gyro
- Target stick selection: Gyro can now drive the left stick, right stick, or be disabled entirely via a
Gyro Sticktoggle in Settings. - Axis modes: Choose
X,Y, or360°(both axes) independently of the target stick. - Roll / Yaw style: Switch between Roll (wrist tilt) and Yaw (flat-turn) with separate angle ranges tuned per style: Yaw uses a wider base angle (
54°) and Roll a tighter one (34°) to match their physical motion ranges. - Per-axis sensitivity sliders: X and Y sensitivity are now separate sliders with independent base and cap angles, replacing the single global sensitivity value.
- Gyro tab in Settings: Gyro controls are now in their own tab alongside
ServerandControlsto keep the settings overlay manageable. - Zero Gyro button: Visible whenever gyro is active; resets accumulated gyro drift back to center.
Server
- QR clear fix: PIN rotation now fully clears the terminal including scrollback (
\x1b[3J\x1b[2J\x1b[H), and "Server listening on..." no longer prints again on each rotation.
Fraypad v0.6.0
What's New in v0.6.0
Security & Pairing
- Authenticated, encrypted UDP (
ChaCha20-Poly1305): All control packets (Hello,Welcome,Reject,Bye,Input,Heartbeat,Pong,Rumble,Resync) are now authenticated and encrypted using BouncyCastle on Android/Desktop andchacha20poly1305on Rust. Unauthenticated packets are silently dropped. - 64-bit sliding replay window: Protects against packet replay while tolerating normal Wi-Fi UDP reordering.
- QR code & 6-digit PIN pairing:
fraypadpersists a0600server key in$XDG_CONFIG_HOME/fraypad/server.key(--rekeyto regenerate) and prints both a terminal QR code and a rate-limited 6-digit PIN (X25519 key exchange) on startup. - F-Droid-ready Android QR scanner: Uses 100% FOSS
CameraX+zxing-core(no Google Play Services) and only requestsCAMERApermission when you tap Scan QR Code. - Server identity pinning &
--no-discover:Announcecarries an 8-byte SHA-256 server fingerprint pinned by the client during background auto-reconnect;--no-discoverdisables LAN broadcasts on untrusted networks. - KBM opt-out & neutralization: Added
--no-kbm/--gamepad-onlyto disable the virtual keyboard/mouse (automatically hiding theKBMbutton in the app viaWelcomecapability flags), andneutralize_kbm()releases held keys on disconnect/timeout/shutdown. - Scoped
uaccessudevrule: Addedpackaging/udev/99-fraypad.rulesusingTAG+="uaccess"so only the active local desktop seat gets/dev/uinputaccess.
Onboarding & UI
- Portrait Pairing Screen: Unpaired launches now open in a dedicated portrait pairing screen with numpad PIN input, QR scan, and LAN discovery, switching to landscape once paired. Added Unpair in Settings (keeping your saved IP).
Fraypad v0.5.4
What's New in v0.5.4
Touch UX & Gyro
- Unified ABXY Voronoi + hysteresis: Face buttons snap touches within the diamond cluster to the nearest button center to eliminate dead-gap misses, and require a 15% closer move before switching buttons while sliding to prevent boundary chatter.
- Follow-thumb floating left stick: Dragging past the stick radius now pulls the origin behind your thumb so direction reversals cross neutral immediately without dead travel.
- Optional axial deadzone: Added an
Axial Deadzone (snap cardinals)toggle in Settings to clamp minor cross-axis bleed on near-cardinal stick inputs. - Android system gesture exclusion & tick haptics: Applied
systemGestureExclusion()on the gamepad canvas so edge swipes don't steal quick flicks, and switched tap feedback toEFFECT_TICK/EFFECT_CLICKon Android Q+. - Snappy gyro steering: Removed EMA smoothing, switched to
SENSOR_DELAY_FASTEST, tightened the deadzone to0.5deg, and used a linear tilt curve.
Connection & Onboarding
- Instant disconnect & same-slot reconnect:
Byepackets are now sent off the Android main thread before closing or reopening the socket, avoidingNetworkOnMainThreadExceptionand freeing the current slot immediately. - Settings button clarity:
Save & Reconnectis now the primary action, withConnectgreyed out when already connected andDisconnectgreyed out when disconnected. - Port fallback, lockfile & LAN IP output:
fraypadnow binds its UDP socket before creatinguinputdevices, falls back across ports54321..=54325when--portisn't specified, prevents accidental duplicate instances via$XDG_RUNTIME_DIR/fraypad.lock, and prints the machine's LAN IP on startup. - Faster, more reliable LAN discovery:
scanLan()probes54321first across255.255.255.255, subnet broadcasts, and the last known host (with a200msfallback to54322..=54325), shows results immediately, auto-fills single matches, and runs a silent fallback scan on launch if a saved address doesn't respond within1.5s.
Fraypad v0.5.3
What's Fixed in v0.5.3
Gamepad Button Mapping
- X/Y corrected: X now sends
BTN_NORTH(0x133) and Y sendsBTN_WEST(0x134), matching the real Linuxxpaddriver for Xbox 360 controllers. Games using SDL2, Steam, and Proton now receive the correct buttons. - Chromium gamepad mapping fixed: Removed
BTN_TL2andBTN_TR2from the virtual device capability list. These keys were shifting Chromium's button index mapping for LT, RT, Back, Start, Xbox, L3, and R3 -- they are not present on real Xbox 360 hardware. - L3/R3 touch zone fixed: Tapping L3 or R3 no longer accidentally captures the left/right stick instead.
Gyro Steering
- Gyro + left stick combined correctly: Touch input and gyro steering no longer overwrite each other on the left stick X axis. Both are now summed and clamped to
[-1, 1]before sending, eliminating the jitter and stutter when using both simultaneously.
Fraypad v0.5.2
What's Changed in v0.5.2
Keyboard
- Dual-symbol corner labels: Number and punctuation keys now display their shifted symbol small and dimmed in the top-right corner; when Shift is active, the corner symbol highlights and the primary symbol dims.
- Shift & Caps Lock casing: Letter keys default to lowercase (
qwerty) and switch to uppercase (QWERTY) viaShift XOR Caps Lock, with theCapskey highlighting green while active.
Error Handling & Cleanup
- Surfaced LAN discovery scan errors in Settings instead of failing silently.
- Logged unexpected non-
WouldBlockUDPsend_toerrors infraypadand addedServerCore::with_server_name. - Shared JVM socket and threading helpers in
jvmCommonMain, replaced the layout JSON regex withJsonScanner, removed remaining!!force-unwraps, and splitApp.ktinto focused overlay/component files.
Fraypad v0.5.1
What's Fixed in v0.5.1
- Android crash fix: Escaped
]and}inLayoutStore's layout JSON regex so Android's ICU regex engine parses saved layouts without throwingPatternSyntaxException. - Settings UX: Added a Manual IP Entry toggle (off / greyed out by default) so LAN auto-discovery is front-and-center while keeping manual
IP:portentry available when needed.