You are browsing as a guest. Sign up (or log in) to start making projects!

1h 48m 44s logged

Devlog 1

Making a Remote Human Interface Device (HID): cmdRelay

basically a controlling a device with another device, here controlling a computer with mobile phone

Idea

Problem: On my desk i have a windos pc (with top tier monitor) and i also have a macbook, and i lie on the bed and play movies on the monitor, but then i cant control the playback, volume, and cant scroll youtube.

  • some of the soltions are platform dependent.
  • some of them are paid
  • only one solution kde connect, was usable, but it uses an ios app on the iphone and due to app store restriction, it offers limited functionlality on ios, compares to android, also its complex to use and consumes more battery and lack modern features and UI.

how cmdRelay solves these problems

  • Modern features and Better UI.
  • No need to install an app, a PWA(Progressive Web App) is used in my idea, which solves the app store’s restrictions
  • a very lightweight and efficient background process written in Rust, cross platform support. (an installation is required on the desktop, though its under 10 MB)
  • lesser battery consumption and sleep mode feature.

Details??

  • it uses an conection over LAN, to reduce latency to about 5ms
  • User can control trackpad, keyboard, run big keyboard shortcuts on just a click, i will try for `gesture₹₹ support as well can’t promise anything right now.
  • communicaiton will happen via a local websocket connecion.

Client on mobiles phones

  • A React based PWA

Background process on mac and windows

  • Rust and Tauri based background process, with minimal settings

Current Status

  • I have make a basic websocket server in Rust and React js client, and establised the connection successfuly

wahts next

  1. improve code quality and modularity
  2. build the client side and send the json data to the computer via web sockets
0
5

Comments 0

No comments yet. Be the first!