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

Add support for the Preonic rev3 board to ZMK #228

Closed
wants to merge 21 commits into from

Conversation

shurikai
Copy link
Contributor

@shurikai shurikai commented Oct 1, 2020

This pull request is to add support for the Preonic rev 3. The preonic is a board with built in MCU, and not a shield. The included default keymap is based on the one found on the QMK configurator, but will not be fully functional until shifted keycodes are available.

To build: west build -b preonic_rev3

Note that there is one file touched below (kscan_gpio_matrix.c) that was strictly a change to line formatting in the C file. Nothing changed functionally.

@innovaker innovaker added the board PRs and issues related to boards. label Oct 2, 2020
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor comments, and I believe the clang-format CI job may be failing due to issue with when you forked main. Can you rebase or merge up main to try to get that green again? Thanks!

app/boards/arm/preonic/CMakeLists.txt Show resolved Hide resolved
app/boards/arm/preonic/board.cmake Show resolved Hide resolved
app/boards/arm/preonic/preonic_rev3.dts Show resolved Hide resolved
app/boards/arm/preonic/preonic_rev3.dts Show resolved Hide resolved
app/boards/arm/preonic/preonic_rev3.keymap Show resolved Hide resolved
app/boards/arm/preonic/preonic_rev3.keymap Outdated Show resolved Hide resolved
@@ -51,6 +51,7 @@ static int kscan_gpio_config_interrupts(struct device **devices,
}
#endif


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I follow the question. Can you elaborate?

@petejohanson petejohanson added the enhancement New feature or request label Oct 5, 2020
Add ZMK copyright headers where missing.
Add BT_ bindings for testing purposes in keymap.
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last lingering keymap question, then we should get this in!

// | | | | | | | | | | | | |
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans &kp DEL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this... At the same time... There's no way to get to this adjust layer (yet, I'm still brainstorming how best to handle this common pattern). Can we put this on raise instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shurikai Did you see this comment? TIA.

@innovaker
Copy link
Contributor

Is this PR dead?

aumuell added a commit to aumuell/zmk that referenced this pull request Aug 11, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
aumuell added a commit to aumuell/zmk that referenced this pull request Aug 11, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
@aumuell aumuell mentioned this pull request Aug 11, 2021
aumuell added a commit to aumuell/zmk that referenced this pull request Aug 23, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
petejohanson pushed a commit that referenced this pull request Aug 25, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into #228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
ivandaho pushed a commit to ivandaho/zmk that referenced this pull request Oct 21, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
fsargent pushed a commit to fsargent/zmk that referenced this pull request Nov 19, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
Luberry pushed a commit to Luberry/zmk that referenced this pull request Nov 30, 2021
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
PedroDiogo pushed a commit to PedroDiogo/zmk that referenced this pull request Feb 7, 2022
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
bromanko pushed a commit to bromanko/zmk that referenced this pull request Feb 25, 2022
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
@petejohanson
Copy link
Contributor

@shurikai If still interested in getting this in, can you please see the one comment, and add a ZMK metadata file, so we can get this merged?

Closing for now, but feel free to reopen.

tyalie pushed a commit to tyalie/zmk that referenced this pull request Nov 15, 2022
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
NikolaRavic pushed a commit to NikolaRavic/zmk-firmware that referenced this pull request Feb 27, 2023
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
yuanbin pushed a commit to yuanbin/zmk that referenced this pull request Jun 14, 2023
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into zmkfirmware#228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board PRs and issues related to boards. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants