4 Commits

Author SHA1 Message Date
dee1c1f7da Initial play with kb.py 2024-03-04 14:43:56 -06:00
07c9cab34e Adding skeleton for iris-kmk 2024-03-04 13:54:49 -06:00
b56ac10442 Updated for SN 2024-03-04 08:17:54 -06:00
bf214891dd Update readme.md 2024-02-21 15:33:16 -06:00
5 changed files with 30 additions and 138 deletions

0
iris-kmk/README.md Normal file
View File

28
iris-kmk/kb.py Normal file
View File

@@ -0,0 +1,28 @@
import board
from kmk.extensions.LED import LED
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.scanners import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
col_pins = (
board.GP2,
board.GP3,
board.GP29,
board.GP27,
board.GP6,
board.GP5,
)
row_pins = (
board.GP0,
board.GP1,
board.GP7,
board.GP16,
board.GP28,
)
diode_orientation = DiodeOrientation.COLUMNS
leds = LED(led_pin=[board.GP27, board.GP28])
_KMKKeyboard.extensions.append(leds)

0
iris-kmk/main.py Normal file
View File

View File

@@ -145,12 +145,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return false; return false;
case M_PASS2: case M_PASS2:
if (record->event.pressed) { if (record->event.pressed) {
SEND_STRING("Thel0ve0fchrist!"); SEND_STRING("ThisisThel0ve0fchrist!");
} }
return false; return false;
case M_PASS3: case M_PASS3:
if (record->event.pressed) { if (record->event.pressed) {
SEND_STRING("6754"); SEND_STRING("1029");
} }
return false; return false;
case M_PASS4: case M_PASS4:

View File

@@ -1,137 +1 @@
# Iris rev. 6 keymap by radlinskii
![iris rev. 6 by radlinskii lightning demo](https://user-images.githubusercontent.com/26116041/171883033-3c5ababe-88ae-4c9d-8436-3d6ab83dbf4b.gif)
## Features:
- [RGB Lightning layers](https://docs.qmk.fm/#/feature_rgblight?id=lighting-layers)
- [MOUSE KEYS](https://docs.qmk.fm/#/keycodes?id=mouse-keys)
- [MOD-TAPS](https://docs.qmk.fm/#/mod_tap)
## Layers:
### colemak - default
> [Colemak DH](https://colemakmods.github.io/mod-dh/) keyboard layout.
<details>
<summary>
keymap
</summary>
<img width="800" alt="colemak layer keymap" src="https://user-images.githubusercontent.com/26116041/173403537-f2222651-c8ea-4c8b-b828-97520a222344.png">
</details>
<details>
<summary>
lightning
</summary>
<img width="800" alt="colemak layer lightning" src="https://user-images.githubusercontent.com/26116041/173681398-cdcff1a5-ae79-4409-950a-1b671c350f07.jpeg">
</details>
### qwerty - alternative default
> Can be set as persistent default layer.
<details>
<summary>
keymap
</summary>
<img width="800" alt="qwerty layer keymap" src="https://user-images.githubusercontent.com/26116041/173403371-1551976a-2f95-4dbd-ba07-96936651871d.png">
</details>
<details>
<summary>
lightning
</summary>
<img width="800" alt="qwerty layer lightning" src="https://user-images.githubusercontent.com/26116041/173681525-aee3c927-995a-4f83-b688-ed8bfd3f8bb6.jpeg">
</details>
### numeric + symbols
<details>
<summary>
keymap
</summary>
<img width="800" alt="numeric and symbols layer keymap" src="https://user-images.githubusercontent.com/26116041/173403164-b0520501-761b-4567-bf04-57f7b6f7dd4d.png">
</details>
<details>
<summary>
lightning
</summary>
<img width="800" alt="numeric and symbols layer lightning" src="https://user-images.githubusercontent.com/26116041/173681689-0b864e35-0e02-4204-a469-6e872e704903.jpeg">
</details>
### navigation
> Layer with arrow navigation.
<details>
<summary>
keymap
</summary>
<img width="800" alt="navigation layer keymap" src="https://user-images.githubusercontent.com/26116041/173408142-1e1c297e-57db-42f8-bc18-a04dd4e202c9.png">
</details>
<details>
<summary>
lightning
</summary>
<img width="800" alt="navigation layer lightning" src="https://user-images.githubusercontent.com/26116041/173681859-fa6f071a-98e9-48f8-a9a0-76d7510b302a.jpeg">
</details>
### mouse
> Layer with mouse navigation on the same keys as arrow navigation.
<details>
<summary>
keymap
</summary>
<img width="800" alt="mouse layer keymap" src="https://user-images.githubusercontent.com/26116041/173402955-050ffd77-7b60-45dc-8e89-54cd43793132.png">
</details>
<details>
<summary>
lightning
</summary>
<img width="800" alt="mouse layer lightning" src="https://user-images.githubusercontent.com/26116041/173682436-07c32e5e-f415-463d-8c93-d2cbd4e406a1.jpeg">
</details>
### media and miscellaneous
> Used for media keys, switching default layer and keyboard reset.
<details>
<summary>
keymap
</summary>
<img width="800" alt="media and miscellaneous layer keymap" src="https://user-images.githubusercontent.com/26116041/173402837-75ce8ab1-7fbe-454b-b165-b22d171f9ad1.png">
</details>
<details>
<summary>
lightning
</summary>
<img width="800" alt="media and miscellaneous layer lightning" src="https://user-images.githubusercontent.com/26116041/173682188-3eab9c09-d466-4729-89ac-48e09f55564c.jpeg">
</details>