Skip to content

feat(simulator): add simulator on macos with webcam#28

Merged
odudex merged 2 commits intoodudex:masterfrom
gustavoschaedler:emulator_on_macos_with_webcam
Apr 29, 2026
Merged

feat(simulator): add simulator on macos with webcam#28
odudex merged 2 commits intoodudex:masterfrom
gustavoschaedler:emulator_on_macos_with_webcam

Conversation

@gustavoschaedler
Copy link
Copy Markdown
Contributor

✨ (capture_entropy.c, encoder.c, scanner.c): add support for webcam capture on macOS and Linux to enhance QR code scanning capabilities
📝 (README.md): update documentation for building and running the simulator with webcam support on macOS and Linux
♻️ (CMakeLists.txt): refactor CMake configuration to include platform-specific webcam capture logic and dependencies
🐛 (bsp_sim.c): fix mutex locking mechanism for better thread safety in the simulator
💡 (v4l2_capture.h, v4l2_capture_macos.mm): add comments and improve code readability for webcam capture implementation

…apture on macOS and Linux to enhance QR code scanning capabilities

📝 (README.md): update documentation for building and running the simulator with webcam support on macOS and Linux
♻️ (CMakeLists.txt): refactor CMake configuration to include platform-specific webcam capture logic and dependencies
🐛 (bsp_sim.c): fix mutex locking mechanism for better thread safety in the simulator
💡 (v4l2_capture.h, v4l2_capture_macos.mm): add comments and improve code readability for webcam capture implementation
@gustavoschaedler gustavoschaedler changed the title feat(simulator): add emulator on macos with webcam feat(simulator): add simulator on macos with webcam Apr 27, 2026
@odudex
Copy link
Copy Markdown
Owner

odudex commented Apr 27, 2026

Nice!
Try to contain all the code inside simulator, creating shims that make #ifdef SIMULATOR unnecessary on main source code.

…era frame handling to remove simulator-specific code and improve clarity

✨ (CMakeLists.txt): add lvgl library to simulator build for better modularity and maintainability
💡 (bsp_sim.c): update comments to clarify the purpose of the lv_refr_now wrapper function
@odudex odudex merged commit c7cab0f into odudex:master Apr 29, 2026
4 checks passed
@odudex
Copy link
Copy Markdown
Owner

odudex commented Apr 29, 2026

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants