diff options
author | pauper <125139481+pauperboards@users.noreply.github.com> | 2023-02-18 00:26:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 21:26:43 -0800 |
commit | 7ce71625bc15e649f8c080b61ff17f7d7c2dfa9f (patch) | |
tree | 2bbda8f0b962d498cc3b2ecc122abb2871566950 /keyboards/brick/brick.c | |
parent | d1420cf1d9bf4ea6ec5458add81e4e43a1535623 (diff) |
[Keyboard] Brick (#19851)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Jason Chestnut <jason@Jasons-MacBook-Pro.local>
Diffstat (limited to 'keyboards/brick/brick.c')
-rw-r--r-- | keyboards/brick/brick.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/keyboards/brick/brick.c b/keyboards/brick/brick.c deleted file mode 100644 index 8c97cf97ff..0000000000 --- a/keyboards/brick/brick.c +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2023 Juno Nguyen <juno.ngx@gmail.com> - * - * 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 "brick.h" - -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - return true; -} -#endif
\ No newline at end of file |