mirror of
				https://github.com/qmk/qmk_userspace.git
				synced 2025-11-03 18:30:07 -05:00 
			
		
		
		
	Add the Iris rev4
This commit is contained in:
		
					parent
					
						
							
								6ac6156b6d
							
						
					
				
			
			
				commit
				
					
						3e6caf5448
					
				
			
		
					 4 changed files with 227 additions and 1 deletions
				
			
		
							
								
								
									
										29
									
								
								keyboards/keebio/iris/keymaps/rpw.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								keyboards/keebio/iris/keymaps/rpw.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,29 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "config": { "features": {"tri_layer": true} },
 | 
				
			||||||
 | 
					    "keyboard": "keebio/iris/rev8",
 | 
				
			||||||
 | 
					    "keymap": "default",
 | 
				
			||||||
 | 
					    "layout": "LAYOUT",
 | 
				
			||||||
 | 
					    "layers": [
 | 
				
			||||||
 | 
					        [
 | 
				
			||||||
 | 
					            "QK_GESC", "KC_1"   , "KC_2"   , "KC_3"   , "KC_4"   , "KC_5"   ,                       "KC_6"   , "KC_7"   , "KC_8"   , "KC_9"   , "KC_0"   , "KC_BSPC",
 | 
				
			||||||
 | 
					            "KC_TAB" , "KC_Q"   , "KC_W"   , "KC_E"   , "KC_R"   , "KC_T"   ,                       "KC_Y"   , "KC_U"   , "KC_I"   , "KC_O"   , "KC_P"   , "KC_DEL" ,
 | 
				
			||||||
 | 
					            "KC_LCTL", "KC_A"   , "KC_S"   , "KC_D"   , "KC_F"   , "KC_G"   ,                       "KC_H"   , "KC_J"   , "KC_K"   , "KC_L"   , "KC_SCLN", "KC_QUOT",
 | 
				
			||||||
 | 
					            "KC_LSFT", "KC_Z"   , "KC_X"   , "KC_C"   , "KC_V"   , "KC_B"   , "KC_HOME", "KC_END" , "KC_N"   , "KC_M"   , "KC_COMM", "KC_DOT" , "KC_SLSH", "KC_RSFT",
 | 
				
			||||||
 | 
					                                                        "KC_LGUI", "TL_LOWR", "KC_ENT" , "KC_SPC" , "TL_UPPR", "KC_RALT"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        [
 | 
				
			||||||
 | 
					            "KC_TILD", "KC_EXLM", "KC_AT"  , "KC_HASH", "KC_DLR" , "KC_PERC",                       "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "KC_PGUP",
 | 
				
			||||||
 | 
					            "KC_GRV" , "_______", "KC_UP"  , "_______", "QK_BOOT", "_______",                       "_______", "KC_P7"  , "KC_P8"  , "KC_P9"  , "KC_P0"  , "KC_PGDN",
 | 
				
			||||||
 | 
					            "KC_DEL" , "KC_LEFT", "KC_DOWN", "KC_RGHT", "_______", "KC_LBRC",                       "KC_RBRC", "KC_P4"  , "KC_P5"  , "KC_P6"  , "KC_PLUS", "KC_PIPE",
 | 
				
			||||||
 | 
					            "RM_NEXT", "EE_CLR" , "_______", "_______", "_______", "KC_LCBR", "KC_LPRN", "KC_RPRN", "KC_RCBR", "KC_P1"  , "KC_P2"  , "KC_P3"  , "KC_MINS", "_______",
 | 
				
			||||||
 | 
					                                                        "_______", "_______", "KC_DEL" , "KC_DEL" , "_______", "KC_P0"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        [
 | 
				
			||||||
 | 
					            "KC_F12" , "KC_F1"  , "KC_F2"  , "KC_F3"  , "KC_F4"  , "KC_F5"  ,                       "KC_F6"  , "KC_F7"  , "KC_F8"  , "KC_F9"  , "KC_F10" , "KC_F11" ,
 | 
				
			||||||
 | 
					            "RM_TOGG", "KC_EXLM", "KC_AT"  , "KC_HASH", "KC_DLR" , "KC_PERC",                       "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "QK_BOOT",
 | 
				
			||||||
 | 
					            "RM_NEXT", "KC_MPRV", "KC_MNXT", "KC_VOLU", "KC_PGUP", "KC_UNDS",                       "KC_EQL" , "KC_HOME", "RM_HUEU", "RM_SATU", "RM_VALU", "KC_BSLS",
 | 
				
			||||||
 | 
					            "KC_MUTE", "KC_MSTP", "KC_MPLY", "KC_VOLD", "KC_PGDN", "KC_MINS", "KC_LPRN", "_______", "KC_PLUS", "KC_END" , "RM_HUED", "RM_SATD", "RM_VALD", "EE_CLR" ,
 | 
				
			||||||
 | 
					                                                        "_______", "_______", "_______", "_______", "_______", "_______"
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										158
									
								
								keyboards/keebio/iris/rev4/keyboard.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										158
									
								
								keyboards/keebio/iris/rev4/keyboard.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,158 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "keyboard_name": "Iris Rev. 4",
 | 
				
			||||||
 | 
					    "usb": {
 | 
				
			||||||
 | 
					        "pid": "0x4256",
 | 
				
			||||||
 | 
					        "device_version": "4.0.0"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "matrix_pins": {
 | 
				
			||||||
 | 
					        "cols": ["F1", "F4", "D3", "D2", "B7", "D4"],
 | 
				
			||||||
 | 
					        "rows": ["B1", "F0", "F5", "F6", "F7"]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "diode_direction": "COL2ROW",
 | 
				
			||||||
 | 
					    "encoder": {
 | 
				
			||||||
 | 
					        "rotary": [
 | 
				
			||||||
 | 
					            {"pin_a": "B2", "pin_b": "B3"}
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "backlight": {
 | 
				
			||||||
 | 
					        "pin": "B5",
 | 
				
			||||||
 | 
					        "levels": 5
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "rgblight": {
 | 
				
			||||||
 | 
					        "led_count": 12,
 | 
				
			||||||
 | 
					        "split_count": [6, 6],
 | 
				
			||||||
 | 
					        "animations": {
 | 
				
			||||||
 | 
					            "breathing": true,
 | 
				
			||||||
 | 
					            "rainbow_mood": true,
 | 
				
			||||||
 | 
					            "rainbow_swirl": true,
 | 
				
			||||||
 | 
					            "snake": true,
 | 
				
			||||||
 | 
					            "knight": true,
 | 
				
			||||||
 | 
					            "christmas": true,
 | 
				
			||||||
 | 
					            "static_gradient": true,
 | 
				
			||||||
 | 
					            "rgb_test": true,
 | 
				
			||||||
 | 
					            "alternating": true,
 | 
				
			||||||
 | 
					            "twinkle": true
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "ws2812": {
 | 
				
			||||||
 | 
					        "pin": "D6"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "qmk_lufa_bootloader": {
 | 
				
			||||||
 | 
					        "esc_input": "B1",
 | 
				
			||||||
 | 
					        "esc_output": "F1",
 | 
				
			||||||
 | 
					        "led": "B0",
 | 
				
			||||||
 | 
					        "speaker": "C6"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "split": {
 | 
				
			||||||
 | 
					        "enabled": true,
 | 
				
			||||||
 | 
					        "encoder": {
 | 
				
			||||||
 | 
					            "right": {
 | 
				
			||||||
 | 
					                "rotary": [
 | 
				
			||||||
 | 
					                    {"pin_a": "F7", "pin_b": "F6"}
 | 
				
			||||||
 | 
					                ]
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "handedness": {
 | 
				
			||||||
 | 
					            "pin": "D5"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "matrix_pins": {
 | 
				
			||||||
 | 
					            "right": {
 | 
				
			||||||
 | 
					                "cols": ["D4", "D7", "D3", "B7", "F0", "B3"],
 | 
				
			||||||
 | 
					                "rows": ["B1", "B2", "D2", "F1", "F4"]
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "serial": {
 | 
				
			||||||
 | 
					            "pin": "D0"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "processor": "atmega32u4",
 | 
				
			||||||
 | 
					    "bootloader": "qmk-dfu",
 | 
				
			||||||
 | 
					    "features": {
 | 
				
			||||||
 | 
					        "bootmagic": false,
 | 
				
			||||||
 | 
					        "mousekey": false,
 | 
				
			||||||
 | 
					        "extrakey": true,
 | 
				
			||||||
 | 
					        "backlight": true,
 | 
				
			||||||
 | 
					        "rgblight": true,
 | 
				
			||||||
 | 
					        "encoder": true
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "qmk": {
 | 
				
			||||||
 | 
					        "locking": {
 | 
				
			||||||
 | 
					            "enabled": true,
 | 
				
			||||||
 | 
					            "resync": true
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "build": {
 | 
				
			||||||
 | 
					        "lto": true
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "layouts": {
 | 
				
			||||||
 | 
					        "LAYOUT": {
 | 
				
			||||||
 | 
					            "layout": [
 | 
				
			||||||
 | 
					                {"matrix": [0, 0], "x": 0, "y": 0.375},
 | 
				
			||||||
 | 
					                {"matrix": [0, 1], "x": 1, "y": 0.375},
 | 
				
			||||||
 | 
					                {"matrix": [0, 2], "x": 2, "y": 0.125},
 | 
				
			||||||
 | 
					                {"matrix": [0, 3], "x": 3, "y": 0},
 | 
				
			||||||
 | 
					                {"matrix": [0, 4], "x": 4, "y": 0.125},
 | 
				
			||||||
 | 
					                {"matrix": [0, 5], "x": 5, "y": 0.25},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [5, 5], "x": 9, "y": 0.25},
 | 
				
			||||||
 | 
					                {"matrix": [5, 4], "x": 10, "y": 0.125},
 | 
				
			||||||
 | 
					                {"matrix": [5, 3], "x": 11, "y": 0},
 | 
				
			||||||
 | 
					                {"matrix": [5, 2], "x": 12, "y": 0.125},
 | 
				
			||||||
 | 
					                {"matrix": [5, 1], "x": 13, "y": 0.375},
 | 
				
			||||||
 | 
					                {"matrix": [5, 0], "x": 14, "y": 0.375},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [1, 0], "x": 0, "y": 1.375},
 | 
				
			||||||
 | 
					                {"matrix": [1, 1], "x": 1, "y": 1.375},
 | 
				
			||||||
 | 
					                {"matrix": [1, 2], "x": 2, "y": 1.125},
 | 
				
			||||||
 | 
					                {"matrix": [1, 3], "x": 3, "y": 1},
 | 
				
			||||||
 | 
					                {"matrix": [1, 4], "x": 4, "y": 1.125},
 | 
				
			||||||
 | 
					                {"matrix": [1, 5], "x": 5, "y": 1.25},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [6, 5], "x": 9, "y": 1.25},
 | 
				
			||||||
 | 
					                {"matrix": [6, 4], "x": 10, "y": 1.125},
 | 
				
			||||||
 | 
					                {"matrix": [6, 3], "x": 11, "y": 1},
 | 
				
			||||||
 | 
					                {"matrix": [6, 2], "x": 12, "y": 1.125},
 | 
				
			||||||
 | 
					                {"matrix": [6, 1], "x": 13, "y": 1.375},
 | 
				
			||||||
 | 
					                {"matrix": [6, 0], "x": 14, "y": 1.375},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [2, 0], "x": 0, "y": 2.375},
 | 
				
			||||||
 | 
					                {"matrix": [2, 1], "x": 1, "y": 2.375},
 | 
				
			||||||
 | 
					                {"matrix": [2, 2], "x": 2, "y": 2.125},
 | 
				
			||||||
 | 
					                {"matrix": [2, 3], "x": 3, "y": 2},
 | 
				
			||||||
 | 
					                {"matrix": [2, 4], "x": 4, "y": 2.125},
 | 
				
			||||||
 | 
					                {"matrix": [2, 5], "x": 5, "y": 2.25},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [7, 5], "x": 9, "y": 2.25},
 | 
				
			||||||
 | 
					                {"matrix": [7, 4], "x": 10, "y": 2.125},
 | 
				
			||||||
 | 
					                {"matrix": [7, 3], "x": 11, "y": 2},
 | 
				
			||||||
 | 
					                {"matrix": [7, 2], "x": 12, "y": 2.125},
 | 
				
			||||||
 | 
					                {"matrix": [7, 1], "x": 13, "y": 2.375},
 | 
				
			||||||
 | 
					                {"matrix": [7, 0], "x": 14, "y": 2.375},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [3, 0], "x": 0, "y": 3.375},
 | 
				
			||||||
 | 
					                {"matrix": [3, 1], "x": 1, "y": 3.375},
 | 
				
			||||||
 | 
					                {"matrix": [3, 2], "x": 2, "y": 3.125},
 | 
				
			||||||
 | 
					                {"matrix": [3, 3], "x": 3, "y": 3},
 | 
				
			||||||
 | 
					                {"matrix": [3, 4], "x": 4, "y": 3.125},
 | 
				
			||||||
 | 
					                {"matrix": [3, 5], "x": 5, "y": 3.25},
 | 
				
			||||||
 | 
					                {"matrix": [4, 5], "x": 6.15, "y": 3.75},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [9, 5], "x": 7.85, "y": 3.75},
 | 
				
			||||||
 | 
					                {"matrix": [8, 5], "x": 9, "y": 3.25},
 | 
				
			||||||
 | 
					                {"matrix": [8, 4], "x": 10, "y": 3.125},
 | 
				
			||||||
 | 
					                {"matrix": [8, 3], "x": 11, "y": 3},
 | 
				
			||||||
 | 
					                {"matrix": [8, 2], "x": 12, "y": 3.125},
 | 
				
			||||||
 | 
					                {"matrix": [8, 1], "x": 13, "y": 3.375},
 | 
				
			||||||
 | 
					                {"matrix": [8, 0], "x": 14, "y": 3.375},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [4, 2], "x": 3.5, "y": 4.25},
 | 
				
			||||||
 | 
					                {"matrix": [4, 3], "x": 4.5, "y": 4.375},
 | 
				
			||||||
 | 
					                {"matrix": [4, 4], "x": 5.6, "y": 4.75},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [9, 4], "x": 8.4, "y": 4.75},
 | 
				
			||||||
 | 
					                {"matrix": [9, 3], "x": 9.5, "y": 4.375},
 | 
				
			||||||
 | 
					                {"matrix": [9, 2], "x": 10.5, "y": 4.25}
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										38
									
								
								keyboards/keebio/iris/rev4/rev4.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								keyboards/keebio/iris/rev4/rev4.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,38 @@
 | 
				
			||||||
 | 
					#include "quantum.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void eeconfig_init_kb(void) {
 | 
				
			||||||
 | 
					#ifdef BACKLIGHT_ENABLE
 | 
				
			||||||
 | 
					    backlight_enable();
 | 
				
			||||||
 | 
					    backlight_level(3);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef RGBLIGHT_ENABLE
 | 
				
			||||||
 | 
					    rgblight_enable(); // Enable RGB by default
 | 
				
			||||||
 | 
					    rgblight_sethsv(0, 255, 255);  // Set default HSV - red hue, full saturation, full brightness
 | 
				
			||||||
 | 
					#ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | 
				
			||||||
 | 
					    rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    eeconfig_update_kb(0);
 | 
				
			||||||
 | 
					    eeconfig_init_user();
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef ENCODER_ENABLE
 | 
				
			||||||
 | 
					bool encoder_update_kb(uint8_t index, bool clockwise) {
 | 
				
			||||||
 | 
					    if (!encoder_update_user(index, clockwise)) { return false; }
 | 
				
			||||||
 | 
					    if (index == 0) {
 | 
				
			||||||
 | 
					        if (clockwise) {
 | 
				
			||||||
 | 
					            tap_code(KC_VOLU);
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
 | 
					            tap_code(KC_VOLD);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    } else if (index == 1) {
 | 
				
			||||||
 | 
					        if (clockwise) {
 | 
				
			||||||
 | 
					            tap_code(KC_PGDN);
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
 | 
					            tap_code(KC_PGUP);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return false;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
							
								
								
									
										3
									
								
								qmk.json
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								qmk.json
									
										
									
									
									
								
							| 
						 | 
					@ -5,6 +5,7 @@
 | 
				
			||||||
        ["sofle/rev1", "rpw"],
 | 
					        ["sofle/rev1", "rpw"],
 | 
				
			||||||
        ["primekb/prime_e", "rpw"],
 | 
					        ["primekb/prime_e", "rpw"],
 | 
				
			||||||
        ["lily58/rev1", "rpw"],
 | 
					        ["lily58/rev1", "rpw"],
 | 
				
			||||||
        ["ferris/sweep", "rpw"]
 | 
					        ["ferris/sweep", "rpw"],
 | 
				
			||||||
 | 
					        ["iris/rev4", "rpw"]
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue