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 Ratio60 PCB #21609

Merged
merged 75 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from 74 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
4822ba3
enable rgb underglow for VIA-firmware
Jan 31, 2021
95d87c6
Merge remote-tracking branch 'upstream/master'
Feb 25, 2021
6d1ca39
Merge remote-tracking branch 'upstream/master'
Apr 5, 2021
1bb162a
update master branch from remote
Apr 5, 2021
e32af47
Merge remote-tracking branch 'upstream/master'
Apr 14, 2021
baa29b1
Merge remote-tracking branch 'upstream/master'
Apr 29, 2021
3d4c946
cont
Apr 29, 2021
456835e
Merge remote-tracking branch 'upstream/master'
May 25, 2021
7564a8f
Merge remote-tracking branch 'upstream/master'
Jun 21, 2021
92f7266
Merge remote-tracking branch 'upstream/master'
Jun 23, 2021
a619d57
Merge remote-tracking branch 'upstream/master'
Aug 29, 2021
d31268c
Merge remote-tracking branch 'upstream/master'
4pplet Sep 20, 2021
475cd46
Merge remote-tracking branch 'upstream/master'
4pplet Sep 22, 2021
cd4f7e9
Merge remote-tracking branch 'upstream/master'
4pplet Oct 4, 2021
32eb4bf
Merge remote-tracking branch 'upstream/master'
4pplet Dec 28, 2021
8a8921c
Merge remote-tracking branch 'upstream/master'
4pplet Feb 3, 2022
5d58560
Merge remote-tracking branch 'upstream/master'
4pplet Feb 22, 2022
40aef4b
Merge remote-tracking branch 'upstream/master'
4pplet Feb 28, 2022
308b2f2
Merge branch 'master' of https://github.com/4pplet/qmk_firmware
4pplet Feb 28, 2022
1fd4987
Added build command for rev c and bootloader instruction in the main …
4pplet Mar 22, 2022
ff49df5
Merge remote-tracking branch 'upstream/master'
4pplet Apr 2, 2022
86365b8
Merge remote-tracking branch 'upstream/master'
4pplet Apr 23, 2022
1ea2c7b
Merge remote-tracking branch 'upstream/master'
4pplet May 15, 2022
9be56a8
Merge remote-tracking branch 'upstream/master'
4pplet Jun 15, 2022
e14011f
Merge branch 'master' of https://github.com/4pplet/qmk_firmware
4pplet Jun 15, 2022
e73f608
Merge remote-tracking branch 'upstream/master'
4pplet Jul 23, 2022
aaca0ae
Merge remote-tracking branch 'upstream/master'
4pplet Aug 20, 2022
4488505
Merge remote-tracking branch 'upstream/master'
4pplet Aug 29, 2022
fb35260
Merge remote-tracking branch 'upstream/master'
4pplet Sep 7, 2022
f1c44c4
Merge remote-tracking branch 'upstream/master'
4pplet Oct 3, 2022
df962d1
Merge remote-tracking branch 'upstream/master' into add_viper_eagle_r…
4pplet Oct 4, 2022
e6b2459
Squashed commit of the following:
4pplet Oct 4, 2022
3b70eb0
Merge remote-tracking branch 'upstream/master'
4pplet Oct 10, 2022
c649909
Merge remote-tracking branch 'upstream/master'
4pplet Oct 15, 2022
d690de4
Merge branch 'master' into add_viper_eagle_rev_b
4pplet Oct 17, 2022
a5e667e
Merge remote-tracking branch 'upstream/master'
4pplet Nov 3, 2022
c5cd539
Merge remote-tracking branch 'upstream/master'
4pplet Nov 14, 2022
5c903d2
Update keyboards/4pplet/eagle_viper_rep/rev_b/rev_b.c
4pplet Nov 20, 2022
2328b59
Simplifying led-code and using proper lock LED indicator defines
4pplet Nov 20, 2022
2b320c9
Removing RGBLIGHT_ANIMATIONS define for revision A
4pplet Nov 30, 2022
66748cb
Merge remote-tracking branch 'upstream/master' into add_viper_eagle_r…
4pplet Dec 4, 2022
fc86f09
Merge branch 'add_viper_eagle_rev_b' of https://github.com/4pplet/qmk…
4pplet Dec 4, 2022
641a2a9
Merge remote-tracking branch 'upstream/master'
4pplet Dec 4, 2022
7f4f094
Merge branch 'add_viper_eagle_rev_b'
4pplet Dec 4, 2022
1986c51
Merge remote-tracking branch 'upstream/master'
4pplet Dec 10, 2022
45c0278
Merge remote-tracking branch 'upstream/master'
4pplet Dec 15, 2022
71fe4ac
Merge remote-tracking branch 'upstream/master'
4pplet Jan 2, 2023
a15f6e4
Merge remote-tracking branch 'upstream/master'
4pplet Jan 11, 2023
0b3e430
Merge remote-tracking branch 'upstream/master'
4pplet Feb 12, 2023
b118023
Merge remote-tracking branch 'upstream/master'
4pplet Feb 21, 2023
be3f587
Merge remote-tracking branch 'upstream/master'
4pplet Feb 24, 2023
a5187ea
Merge remote-tracking branch 'upstream/master'
4pplet Mar 26, 2023
c2dc44e
Merge remote-tracking branch 'upstream/master'
4pplet May 21, 2023
cac4007
start
4pplet May 21, 2023
74690d2
cont
4pplet May 21, 2023
9ef2450
Update info.json
4pplet Jun 12, 2023
dc3dc34
Merge remote-tracking branch 'upstream/master'
4pplet Jun 13, 2023
b37efc9
Merge remote-tracking branch 'upstream/master'
4pplet Jun 21, 2023
96bbf9b
Merge branch 'master' into ratio60
4pplet Jul 8, 2023
bd6203a
cont
4pplet Jul 8, 2023
274c0b6
Merge remote-tracking branch 'upstream/master'
4pplet Jul 21, 2023
7691169
Update info.json
4pplet Jul 23, 2023
97e8c1e
fix format using format-json command
4pplet Jul 25, 2023
b153957
Update readme.md
4pplet Jul 25, 2023
9faf770
Merge branch 'master' into ratio60
4pplet Jul 25, 2023
c722f14
Apply suggestions from code review
4pplet Jul 25, 2023
f40c985
Update chibios
4pplet Jul 25, 2023
211a1c8
Merge branch 'ratio60' of https://github.com/4pplet/qmk_firmware into…
4pplet Jul 25, 2023
0b21ccc
Update keyboards/rationalist/ratio60_hotswap/rev_a/info.json
4pplet Jul 26, 2023
b1ba55a
Update keyboards/rationalist/ratio60_hotswap/rev_a/rules.mk
4pplet Jul 26, 2023
799b41e
Merge branch 'ratio60' of https://github.com/4pplet/qmk_firmware into…
4pplet Jul 26, 2023
ea5bb1c
Delete rev_a.c
4pplet Jul 26, 2023
218cbca
Update keyboards/rationalist/ratio60_hotswap/keymaps/default/keymap.c
4pplet Aug 16, 2023
8f2a836
Update keyboards/rationalist/ratio60_hotswap/keymaps/via/keymap.c
4pplet Aug 16, 2023
588ae15
Create rules.mk
4pplet Oct 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions keyboards/rationalist/ratio60_hotswap/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
Copyright 2023 Stefan Sundin "4pplet" <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_60_ansi_split_bs_rshift(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, 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_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)),

[1] = LAYOUT_60_ansi_split_bs_rshift(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______ ),
};

#if defined(ENCODER_MAP_ENABLE)
4pplet marked this conversation as resolved.
Show resolved Hide resolved
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) }
};
#endif
41 changes: 41 additions & 0 deletions keyboards/rationalist/ratio60_hotswap/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
Copyright 2023 Stefan Sundin "4pplet" <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_60_ansi_split_bs_rshift(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, 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_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)),

[1] = LAYOUT_60_ansi_split_bs_rshift(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______ )
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) }
};
#endif
2 changes: 2 additions & 0 deletions keyboards/rationalist/ratio60_hotswap/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
ENCODER_MAP_ENABLE = yes
24 changes: 24 additions & 0 deletions keyboards/rationalist/ratio60_hotswap/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Rati(o)60

A 60% hot swap PCB for both tray mount and o-ring mount

* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
* Hardware Supported: Rati(o)60 Rev A

Make example for this keyboard (after setting up your build environment):

make rationalist/ratio60_hotswap/rev_a:default

Flashing example for this keyboard:

make rationalist/ratio60_hotswap/rev_a:default:flash

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

## Bootloader

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down Escape and plug in the keyboard
* **Physical reset button**: Press and hold the button on the back of the PCB or short the reset header for about 3 seconds then release the buttom/remove the short
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
19 changes: 19 additions & 0 deletions keyboards/rationalist/ratio60_hotswap/rev_a/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
Copyright 2023 Stefan Sundin "4pplet" <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#define WS2812_EXTERNAL_PULLUP
Loading