forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keymap] Update my keymap (qmk#9849)
- Loading branch information
Showing
8 changed files
with
581 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* Copyright 2020 shela | ||
* | ||
* 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 SHIFT_BIT_SIZE (0xE7 / 8 + 1) /* 1bit per 1key */ | ||
#define IS_LSFT(kc) ((QK_LSFT & (kc)) == QK_LSFT) | ||
|
||
void action_pseudo_process(keyrecord_t *, uint8_t, const uint16_t (*)[2]); | ||
uint16_t convert_keycode(const uint16_t (*)[2], uint16_t, bool); | ||
|
||
uint8_t get_shift_bit(uint16_t); | ||
void add_shift_bit(uint16_t); | ||
void del_shift_bit(uint16_t); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,38 @@ | ||
#ifndef CONFIG_SHELA_H | ||
#define CONFIG_SHELA_H | ||
/* Copyright 2020 shela | ||
* | ||
* 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 | ||
|
||
#include "../../config.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
#undef VENDOR_ID | ||
#define VENDOR_ID 0x0853 | ||
#undef PRODUCT_ID | ||
#define PRODUCT_ID 0x0100 | ||
#undef DEVICE_VER | ||
#define DEVICE_VER 0x0102 | ||
#undef MANUFACTURER | ||
#define MANUFACTURER Topre Corporation | ||
#undef PRODUCT | ||
#define PRODUCT HHKB Professional | ||
|
||
#undef TAPPING_TERM | ||
#define TAPPING_TERM 230 | ||
#define TAPPING_TERM 210 | ||
#define SPFN_TAPPING_TERM 190 /* SpaceFN tapping term */ | ||
|
||
#define ONESHOT_TAP_TOGGLE 2 | ||
#define ONESHOT_TAP_TOGGLE 3 | ||
#define ONESHOT_TIMEOUT 2000 | ||
|
||
#endif |
Oops, something went wrong.