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

Use single memcmp to determine if matrix changed. #13064

Merged
merged 3 commits into from
Jun 9, 2021

Conversation

tzarc
Copy link
Member

@tzarc tzarc commented Jun 1, 2021

Description

Second followup to the matrix reads -- this does a single memcmp at the end of the row/col reads instead of checking every row/col for a change for every read.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@tzarc tzarc requested a review from a team June 1, 2021 05:37
@github-actions github-actions bot added the core label Jun 1, 2021
@tzarc tzarc force-pushed the split-matrix-single-compare branch from 6618591 to 0fe6ff5 Compare June 1, 2021 05:41
@github-actions github-actions bot added the keymap label Jun 1, 2021
@tzarc tzarc force-pushed the split-matrix-single-compare branch 2 times, most recently from f46eca1 to 0e47bc2 Compare June 1, 2021 05:57
@tzarc tzarc force-pushed the split-matrix-single-compare branch from 0e47bc2 to 501a9e0 Compare June 1, 2021 05:58
@tzarc tzarc mentioned this pull request Jun 1, 2021
14 tasks
@tzarc tzarc force-pushed the split-matrix-single-compare branch from 305a0f5 to 09ca5a0 Compare June 2, 2021 11:53
…PINS, when overriding low-level matrix functions.
@tzarc tzarc force-pushed the split-matrix-single-compare branch from 09ca5a0 to e266063 Compare June 2, 2021 11:54
@tzarc
Copy link
Member Author

tzarc commented Jun 2, 2021

Now allows for skipping specifying MATRIX_ROW_PINS and MATRIX_COL_PINS.

@tzarc tzarc requested a review from mtei June 2, 2021 12:11
@tzarc tzarc merged commit f287597 into qmk:develop Jun 9, 2021
@tzarc tzarc deleted the split-matrix-single-compare branch June 9, 2021 07:19
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jul 30, 2021
* Use memcmp to determine if matrix changed.

* Firmware size issues.

* Add documentation for the lack of need of MATRIX_ROW_PINS/MATRIX_COL_PINS, when overriding low-level matrix functions.
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jul 30, 2021
* Use memcmp to determine if matrix changed.

* Firmware size issues.

* Add documentation for the lack of need of MATRIX_ROW_PINS/MATRIX_COL_PINS, when overriding low-level matrix functions.
nhongooi pushed a commit to nhongooi/qmk_firmware that referenced this pull request Dec 5, 2021
* Use memcmp to determine if matrix changed.

* Firmware size issues.

* Add documentation for the lack of need of MATRIX_ROW_PINS/MATRIX_COL_PINS, when overriding low-level matrix functions.
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
* Use memcmp to determine if matrix changed.

* Firmware size issues.

* Add documentation for the lack of need of MATRIX_ROW_PINS/MATRIX_COL_PINS, when overriding low-level matrix functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants