Commit Graph

14 Commits

Author SHA1 Message Date
Markus Unterwaditzer 5c5333f0c7 Remove RecordingCBM
Colorblind mode is a property of the respective display, and decision
whether to display something in colorblind mode should lie with the
display thread. The display thread already needs to know about
colorblind mode for the initial state.

In #226, there are multiple implementations of display thread, and at
least one of them is dealing with a one-bit display anyway.

Aside, I think rayhunter should send an initial DisplayState on startup,
UI threads should not assume that the device is already recording. But
this can be discussed separately.
2025-04-08 08:58:08 -07:00
Cooper Quintin 95e8f846d3 propegate colorblind mode beyond start/stop 2024-11-26 11:05:13 -08:00
Cooper Quintin c59fb7c013 Fix UI and add more logging (#61)
* add some more logging

* WIP attempt to fix async on update_ui

* fix async for update_ui
2024-10-03 13:32:59 -07:00
Cooper Quintin ca4f49b15f Framebuffer update (#60)
* first pass at changing the UI color based on state

* adding flag to qmdl metadata for when hueristic is triggered

* update style for web page to match UI and have color alert on heuristic trigger

* add test analyzer

* rename example_analyzer to test_analyzer

* refactor ui update to not depend on server

* refactor to pass around color instead of display state for framebuffer channel

* add debug feature flag for test analyzer

* remove warning status from qmdl manifest

* dont keep has warning around
2024-10-03 10:41:59 -07:00
Cooper Quintin a9842fcadb Apply suggestions from code review
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-17 11:46:01 -07:00
Cooper Quintin 54dd952ebd refactor display code 2024-06-14 14:00:46 -07:00
Cooper Quintin e31bccb229 draw_line method added to framebuffer 2024-06-13 17:20:25 -07:00
Cooper Quintin 8365cb5706 send bytes to framebuffer instead of image 2024-06-12 17:04:47 -07:00
Cooper Quintin 31233560cc Update bin/src/framebuffer.rs
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-12 14:51:41 -07:00
Cooper Quintin b2d8b7d5f3 Update bin/src/framebuffer.rs
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-12 14:51:32 -07:00
Cooper Quintin de8cf51649 add config and read files from binary 2024-06-11 16:46:47 -07:00
Cooper Quintin 81f545e90e respect ctrl c in image display loop 2024-06-10 13:28:36 -07:00
Cooper Quintin 46cd8a9af0 poc of image drawing 2024-06-07 16:30:22 -07:00
Cooper Quintin 2ab48875ba make framebuffer crate and call it 2024-06-07 13:30:33 -07:00