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

handwired macropad 4x4 illera16 #22226

Closed
wants to merge 10 commits into from
Closed

handwired macropad 4x4 illera16 #22226

wants to merge 10 commits into from

Conversation

villeramassana
Copy link

@villeramassana villeramassana commented Oct 7, 2023

this is my first handwired 4x4

Types of Changes

  • [ x] Keyboard addition

Checklist

  • [ x] My code follows the code style of this project: C, Python
  • [ x] 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.
  • [ x] I have read the CONTRIBUTING document.
  • [ x] I have added tests to cover my changes.
  • [ x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

villeramassana and others added 6 commits September 17, 2023 14:27
new 4x4 hanwired keyboard
Updated color layers
first handwired macropad 16switch
or 14switch + 2 enconders + rgb led strip for layer indication.
Comment on lines 2 to 3

RGBLIGHT_ENABLE = yes
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
RGBLIGHT_ENABLE = yes

Comment on lines 2 to 3

![handwired/illera16](imgur.com image replace me!)
Copy link
Member

Choose a reason for hiding this comment

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

fill in with valid image or remove

Copy link
Member

Choose a reason for hiding this comment

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

vial keymaps are not accepted to this repo and must be removed.

keyboards/handwired/illera16/info.json Show resolved Hide resolved
"cols": ["D4", "C6", "D7", "E6"],
"rows": ["F4", "F5", "F6", "F7"]
},
"processor": "atmega32u4",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"processor": "atmega32u4",
"development_board": "promicro",

"manufacturer": "victor_illera",
"keyboard_name": "illera16",
"maintainer": "villeramassana",
"bootloader": "caterina",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"bootloader": "caterina",

@zvecr zvecr mentioned this pull request Oct 7, 2023
14 tasks
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
},
},
"community_layouts": ["ortho_4x4"],

Comment on lines 6 to 11
#define _BASE 0
#define _CAPA1 1
#define _CAPA2 2
#define _CAPA3 3
#define _CAPA4 4
#define _CAPA5 5
Copy link
Contributor

@dunk2k dunk2k Oct 8, 2023

Choose a reason for hiding this comment

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

Suggested change
#define _BASE 0
#define _CAPA1 1
#define _CAPA2 2
#define _CAPA3 3
#define _CAPA4 4
#define _CAPA5 5
enum layers {
_BASE,
_CAPA1,
_CAPA2,
_CAPA3,
_CAPA4,
_CAPA5,
};

Comment on lines 64 to 116
[0] = LAYOUT_ortho_4x4( /* CAPAS BASE */
KC_DEL, TG(1), ____, KC_SLASH,
KC_7, KC_8, KC_9, KC_PAST,
KC_4, KC_5, KC_6, KC_PMNS,
KC_1, KC_2, KC_3, KC_0
),
[1] = LAYOUT_ortho_4x4( /* CAPA1 */
KC_1, TG(2), TG(1), KC_1,
KC_1, KC_1, KC_1, KC_1,
KC_1, KC_1, KC_1, KC_1,
KC_1, KC_1, KC_1, KC_1
),
[2] = LAYOUT_ortho_4x4( /* CAPA2 */
KC_2, TG(3), TG(2), KC_2,
KC_2, KC_2, KC_2, KC_2,
KC_2, KC_2, KC_2, KC_2,
KC_2, KC_2, KC_2, KC_2
),
[3] = LAYOUT_ortho_4x4( /* CAPA3 */
KC_3, TG(4), TG(3), KC_3,
KC_3, KC_3, KC_3, KC_3,
KC_3, KC_3, KC_3, KC_3,
KC_3, KC_3, KC_3, KC_3
),
/* MOUSE
* ,-------------------------------------------------.
* | | | c3 | X |
* |-----------+-----------+------------+------------|
* | BUTTON 5 |LEFT CLICK | UP |RIGHT CLICK |
* |-----------+-----------+------------+------------|
* | BUTTON 4 | LEFT | DOWN | RIGHT |
* |-----------+-----------+------------+------=-----|
* | BUTTON 3 |SCROLL LEFT|SCROLL DOWN |SCROLL RIGHT|
* `-------------------------------------------------'
*/
[4] = LAYOUT_ortho_4x4(
_______, TG(5), TG(4), _______,
KC_BTN5, KC_BTN1, KC_MS_U, KC_BTN2,
KC_BTN4, KC_MS_L, KC_MS_D, KC_MS_R,
KC_BTN3, KC_WH_L, KC_WH_D, KC_WH_R
),
/* NAV
* ,-----------------------.
* | INS |PGUP | c4 |PRSCR|
* |-----+-----+-----+-----|
* | DEL |PGDN |VOLD |VOLU |
* |-----+-----+-----+-----|
* |HOME | UP | END | |
* |-----+-----+-----+-----|
* |LEFT |DOWN |RIGHT|ENTER|
* `---------------------- '
*/
[5] = LAYOUT_ortho_4x4( /* NAV CLUSTER */
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[0] = LAYOUT_ortho_4x4( /* CAPAS BASE */
KC_DEL, TG(1), ____, KC_SLASH,
KC_7, KC_8, KC_9, KC_PAST,
KC_4, KC_5, KC_6, KC_PMNS,
KC_1, KC_2, KC_3, KC_0
),
[1] = LAYOUT_ortho_4x4( /* CAPA1 */
KC_1, TG(2), TG(1), KC_1,
KC_1, KC_1, KC_1, KC_1,
KC_1, KC_1, KC_1, KC_1,
KC_1, KC_1, KC_1, KC_1
),
[2] = LAYOUT_ortho_4x4( /* CAPA2 */
KC_2, TG(3), TG(2), KC_2,
KC_2, KC_2, KC_2, KC_2,
KC_2, KC_2, KC_2, KC_2,
KC_2, KC_2, KC_2, KC_2
),
[3] = LAYOUT_ortho_4x4( /* CAPA3 */
KC_3, TG(4), TG(3), KC_3,
KC_3, KC_3, KC_3, KC_3,
KC_3, KC_3, KC_3, KC_3,
KC_3, KC_3, KC_3, KC_3
),
/* MOUSE
* ,-------------------------------------------------.
* | | | c3 | X |
* |-----------+-----------+------------+------------|
* | BUTTON 5 |LEFT CLICK | UP |RIGHT CLICK |
* |-----------+-----------+------------+------------|
* | BUTTON 4 | LEFT | DOWN | RIGHT |
* |-----------+-----------+------------+------=-----|
* | BUTTON 3 |SCROLL LEFT|SCROLL DOWN |SCROLL RIGHT|
* `-------------------------------------------------'
*/
[4] = LAYOUT_ortho_4x4(
_______, TG(5), TG(4), _______,
KC_BTN5, KC_BTN1, KC_MS_U, KC_BTN2,
KC_BTN4, KC_MS_L, KC_MS_D, KC_MS_R,
KC_BTN3, KC_WH_L, KC_WH_D, KC_WH_R
),
/* NAV
* ,-----------------------.
* | INS |PGUP | c4 |PRSCR|
* |-----+-----+-----+-----|
* | DEL |PGDN |VOLD |VOLU |
* |-----+-----+-----+-----|
* |HOME | UP | END | |
* |-----+-----+-----+-----|
* |LEFT |DOWN |RIGHT|ENTER|
* `---------------------- '
*/
[5] = LAYOUT_ortho_4x4( /* NAV CLUSTER */
[_BASE] = LAYOUT_ortho_4x4(
KC_DEL, TG(1), ____, KC_SLASH,
KC_7, KC_8, KC_9, KC_PAST,
KC_4, KC_5, KC_6, KC_PMNS,
KC_1, KC_2, KC_3, KC_0
),
[_CAPA1] = LAYOUT_ortho_4x4(
KC_1, TG(2), TG(1), KC_1,
KC_1, KC_1, KC_1, KC_1,
KC_1, KC_1, KC_1, KC_1,
KC_1, KC_1, KC_1, KC_1
),
[_CAPA2] = LAYOUT_ortho_4x4(
KC_2, TG(3), TG(2), KC_2,
KC_2, KC_2, KC_2, KC_2,
KC_2, KC_2, KC_2, KC_2,
KC_2, KC_2, KC_2, KC_2
),
[_CAPA3] = LAYOUT_ortho_4x4(
KC_3, TG(4), TG(3), KC_3,
KC_3, KC_3, KC_3, KC_3,
KC_3, KC_3, KC_3, KC_3,
KC_3, KC_3, KC_3, KC_3
),
/* MOUSE
* ,-------------------------------------------------.
* | | | c3 | X |
* |-----------+-----------+------------+------------|
* | BUTTON 5 |LEFT CLICK | UP |RIGHT CLICK |
* |-----------+-----------+------------+------------|
* | BUTTON 4 | LEFT | DOWN | RIGHT |
* |-----------+-----------+------------+------=-----|
* | BUTTON 3 |SCROLL LEFT|SCROLL DOWN |SCROLL RIGHT|
* `-------------------------------------------------'
*/
[_CAPA4] = LAYOUT_ortho_4x4(
_______, TG(5), TG(4), _______,
KC_BTN5, KC_BTN1, KC_MS_U, KC_BTN2,
KC_BTN4, KC_MS_L, KC_MS_D, KC_MS_R,
KC_BTN3, KC_WH_L, KC_WH_D, KC_WH_R
),
/* NAV
* ,-----------------------.
* | INS |PGUP | c4 |PRSCR|
* |-----+-----+-----+-----|
* | DEL |PGDN |VOLD |VOLU |
* |-----+-----+-----+-----|
* |HOME | UP | END | |
* |-----+-----+-----+-----|
* |LEFT |DOWN |RIGHT|ENTER|
* `---------------------- '
*/
[_CAPA5] = LAYOUT_ortho_4x4(

]
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Add EoF

Suggested change
}
}

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.

3 participants