Giter VIP home page Giter VIP logo

b0xx-viewer-rs's People

Contributors

otak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

b0xx-viewer-rs's Issues

Refactor the serial probe loop to increase performance

After diagnostics, it turns out we're polling the b0xx controller each ~0-1ms which basically makes no sense as consoles don't poll it higher than 120Hz.

Thus, a full refactor of the serial poll run loop is needed to drastically lower CPU usage.

Making use of the RTS/CTS serial control flow mechanic will be needed for this to work reliably.

  • RTS
  • Read 18 bytes of data
  • CTS
  • Wait 8ms
  • Repeat

Feature: Allow chromeless window to be dragged/moved (Windows)

The chromeless launch option cannot be moved by default in Windows, and allowing it would be ideal for any sort of screen capture software or streams that cannot capture multiple distinct windows and overlay them to your specifications (e.g. Discord or other casual streaming settings).

Potentially adding some sort of key combination that would interact with the mouse input, such as Alt + Click or something similar would be ideal.

Admittedly this is not the most common use case, but it would facilitate ease of use in settings outside OBS streaming or similar.

Chroma-key issues

When setting background to a color that you then chroma-key in OBS, the buttons get green outlines.

image

Rename project

Candidates:

  1. quadrate - Simple synonym of rectangle
  2. fenetre - French for Window, which is usually a...rectangle that allows to see through (view)
  3. prism - Well, duh, it's a prism
  4. blocky - Rectangle-y and cute, also easy to remember
  5. parallelogram - High society rectangle
  6. oblong - Rectangle synonym
  7. parallelograph - Parallelogram + graph

Make sure buffer ordering is correct when having partial serial reads

We sometimes start reading partial buffers over the serial link, problem which also exists on the official Input Viewer. Seems to be some kind of UB related to COM port internal systems.

The procedure to fix this would be to exhaust the initial read buffer at the start of the serial port connection till we find a \n then hand over control to the UI to proceed normally.

Feature: Colored button rims

Investigate something like this for button borders

  • 2px, rim color defaults to inactive_background_color for the button, make button background = window background
  • on pressed, switch button background to active_background_color

This behavior should be enabled with an user-supplied flag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.