Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project architecture upgrade #250

Merged
merged 51 commits into from
Feb 25, 2025
Merged

Project architecture upgrade #250

merged 51 commits into from
Feb 25, 2025

Conversation

HaoboGu
Copy link
Owner

@HaoboGu HaoboGu commented Jan 17, 2025

Closes #229

The current impl adds 3 layers of the event processing pipeline: input devices, input processors and hid writers.

The input device reads physical inputs and generates the raw input events, the input processor processes and converts the raw events to hid reports, finally the hid writer writes the hid reports to the host. All 3 layers are event driven, which is compatible with embassy's async framework.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

Repository owner deleted a comment from github-actions bot Jan 19, 2025

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

Signed-off-by: Haobo Gu <[email protected]>

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

Copy link

PR build size

  text	   data	    bss	    dec	    hex	filename
136164	     84	  41072	 177320	  2b4a8	rmk-nrf52840

Diff

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +3.3% +3.71Ki  +3.3% +3.71Ki    .text
  +1.8% +2.59Ki  [ = ]       0    .debug_line
  +0.8% +1.68Ki  [ = ]       0    .debug_loc
  +0.3%     +48  [ = ]       0    .debug_frame
  +0.3%     +48  +0.3%     +48    .rodata
  +0.5%     +36  [ = ]       0    .debug_abbrev
  -3.3%      -2  [ = ]       0    [Unmapped]
  -3.3%     -16  [ = ]       0    .defmt
  -0.2%     -64  [ = ]       0    .symtab
  -0.8%    -152  [ = ]       0    .debug_aranges
  [ = ]       0  -0.6%    -236    .bss
  -1.5% -1.97Ki  [ = ]       0    .strtab
  -2.1% -2.20Ki  [ = ]       0    .debug_ranges
  -0.9% -7.53Ki  [ = ]       0    .debug_info
  -3.4% -44.5Ki  [ = ]       0    .debug_str
  -1.7% -48.3Ki  +2.1% +3.52Ki    TOTAL

@HaoboGu HaoboGu merged commit 80fd0d4 into main Feb 25, 2025
25 checks passed
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.

Architecture upgrade, make input device - input processor - reporter decoupled with each other
1 participant