Skip to content

Releases

Fraypad v0.6.5

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 15:56
v0.6.5
a7ec3a3

What's New in v0.6.5

Tray & Desktop UX

  • Single-crate tray feature: fraypad-tray is now an optional [[bin]] inside fraypad (cargo install fraypad --features tray installs both fraypad and fraypad-tray; default cargo install fraypad stays headless with zero GUI/D-Bus dependencies).
  • Gamepad-only (No KBM) toggle: Added a Gamepad-only (No KBM) checkbox in fraypad-tray that restarts tray-managed fraypad with --no-kbm or manages a ~/.config/systemd/user/fraypad.service.d/no-kbm.conf drop-in when fraypad.service is active.
  • One-click /dev/uinput setup: fraypad-tray detects /dev/uinput permission errors and shows Grant /dev/uinput access in the tray menu (preferring pkexec when launched without a terminal).
  • Desktop entry commands & single-instance lock: Added fraypad-tray install-desktop / uninstall-desktop and $XDG_RUNTIME_DIR/fraypad-tray.lock to prevent duplicate tray icons.

Server & Reliability

  • Boot Wi-Fi race fix: If fraypad.service starts before Wi-Fi connects (0.0.0.0), fraypad re-probes the LAN IP lazily on pair socket requests and PIN rotation.
  • Self-healing paths & clean uninstall: Uses bare fraypad / fraypad-tray when in /usr/bin or /usr/local/bin, self-heals stale .service / .desktop Exec= paths on startup, and removes fraypad.service.d/no-kbm.conf during fraypad uninstall-service.
  • Docs: Added ufw and firewalld UDP 54321 instructions to README.md.

Fraypad v0.6.4

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 15:20
v0.6.4
25e553f

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 a 320×320 borderless pixel-buffer popup (winit + softbuffer + qrcode).
  • Hover & click UX: Hovering the tray icon shows your LAN IP:port and current 6-digit PIN; left-clicking opens or closes the centered QR + PIN popup.
  • Auto-attach & auto-detach: Connects to a running fraypad / systemd service via $XDG_RUNTIME_DIR/fraypad.sock or spawns fraypad in the background if stopped. Automatically detaches when launched from a terminal (-f / --foreground to stay attached).
  • Start on login & desktop entry: Added a Start on login checkbox in the tray menu (manages ~/.config/autostart/fraypad-tray.desktop with the embedded fraypad.svg icon) and bundled /usr/share/applications/fraypad-tray.desktop into .deb, .rpm, and fraypad-bin AUR packages.

Build & Packaging

  • Smaller binaries: Enabled opt-level = "z", lto = "fat", panic = "abort", and strip = "symbols" across both fraypad (576 KB) and fraypad-tray (1.9 MB).
  • crates.io: fraypad-tray is now published on crates.io alongside fraypad.

Fraypad v0.6.3

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 13:53
v0.6.3
c32424c

What's New in v0.6.3

Server & Service Management

  • systemd user service: Added fraypad install-service and fraypad uninstall-service to set up and manage an auto-start ~/.config/systemd/user/fraypad.service (WantedBy=default.target, Restart=on-failure).
  • fraypad pair: Added a 0600 Unix control socket ($XDG_RUNTIME_DIR/fraypad.sock) so running fraypad pair prints 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.svg and switched the Android launcher background to a steel radial gradient (#9EB4D8 to #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 changelog 14.txt).
  • Docs: Updated README.md and crates/server_evdev/README.md with .deb, .rpm, AUR (fraypad-bin), install-rule, install-service, and pair instructions.

Fraypad v0.6.2

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 13:29
v0.6.2
f059cd3

What's New in v0.6.2

Server & Setup

  • udev rule commands: Added fraypad install-rule and fraypad uninstall-rule to install or remove /etc/udev/rules.d/99-fraypad.rules (using TAG+="uaccess", OPTIONS+="static_node=uinput") and reload udevadm, escalating automatically via sudo, doas, or pkexec when needed.
  • First-run /dev/uinput prompt: On startup, if /dev/uinput fails with permission denied in an interactive terminal, fraypad prompts [y/N] to run install-rule and retries immediately. Non-interactive runs exit with a hint to run fraypad install-rule.

Packaging & Release CI

  • .deb, .rpm, and AUR (fraypad-bin): Added cargo-deb and cargo-generate-rpm metadata and a GitHub Actions release workflow that builds and attaches .deb and .rpm packages to each release and updates fraypad-bin on AUR.

Fraypad v0.6.1

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 12:12
v0.6.1
e1a0d56

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 Stick toggle in Settings.
  • Axis modes: Choose X, Y, or 360° (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 Server and Controls to 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

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 11:06
d847432

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 and chacha20poly1305 on 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: fraypad persists a 0600 server key in $XDG_CONFIG_HOME/fraypad/server.key (--rekey to 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 requests CAMERA permission when you tap Scan QR Code.
  • Server identity pinning & --no-discover: Announce carries an 8-byte SHA-256 server fingerprint pinned by the client during background auto-reconnect; --no-discover disables LAN broadcasts on untrusted networks.
  • KBM opt-out & neutralization: Added --no-kbm / --gamepad-only to disable the virtual keyboard/mouse (automatically hiding the KBM button in the app via Welcome capability flags), and neutralize_kbm() releases held keys on disconnect/timeout/shutdown.
  • Scoped uaccess udev rule: Added packaging/udev/99-fraypad.rules using TAG+="uaccess" so only the active local desktop seat gets /dev/uinput access.

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

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 10:11
b50428c

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 to EFFECT_TICK / EFFECT_CLICK on Android Q+.
  • Snappy gyro steering: Removed EMA smoothing, switched to SENSOR_DELAY_FASTEST, tightened the deadzone to 0.5 deg, and used a linear tilt curve.

Connection & Onboarding

  • Instant disconnect & same-slot reconnect: Bye packets are now sent off the Android main thread before closing or reopening the socket, avoiding NetworkOnMainThreadException and freeing the current slot immediately.
  • Settings button clarity: Save & Reconnect is now the primary action, with Connect greyed out when already connected and Disconnect greyed out when disconnected.
  • Port fallback, lockfile & LAN IP output: fraypad now binds its UDP socket before creating uinput devices, falls back across ports 54321..=54325 when --port isn'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() probes 54321 first across 255.255.255.255, subnet broadcasts, and the last known host (with a 200ms fallback to 54322..=54325), shows results immediately, auto-fills single matches, and runs a silent fallback scan on launch if a saved address doesn't respond within 1.5s.

Fraypad v0.5.3

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 06:34
b82c773

What's Fixed in v0.5.3

Gamepad Button Mapping

  • X/Y corrected: X now sends BTN_NORTH (0x133) and Y sends BTN_WEST (0x134), matching the real Linux xpad driver for Xbox 360 controllers. Games using SDL2, Steam, and Proton now receive the correct buttons.
  • Chromium gamepad mapping fixed: Removed BTN_TL2 and BTN_TR2 from 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

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 05:23
e521a3f

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) via Shift XOR Caps Lock, with the Caps key highlighting green while active.

Error Handling & Cleanup

  • Surfaced LAN discovery scan errors in Settings instead of failing silently.
  • Logged unexpected non-WouldBlock UDP send_to errors in fraypad and added ServerCore::with_server_name.
  • Shared JVM socket and threading helpers in jvmCommonMain, replaced the layout JSON regex with JsonScanner, removed remaining !! force-unwraps, and split App.kt into focused overlay/component files.

Fraypad v0.5.1

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 04:12
8e86a00

What's Fixed in v0.5.1

  • Android crash fix: Escaped ] and } in LayoutStore's layout JSON regex so Android's ICU regex engine parses saved layouts without throwing PatternSyntaxException.
  • 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:port entry available when needed.