Browse Source

going through pull request checklist and fixing small formatting things

pull/17056/head
K 2 years ago
parent
commit
ce63f771f1
15 changed files with 49 additions and 110 deletions
  1. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/config.h
  2. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/features/caps_word.c
  3. +2
    -43
      keyboards/kinesis/kint36/keymaps/kevkevco/features/caps_word.h
  4. +30
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/features/capwords.md
  5. +2
    -15
      keyboards/kinesis/kint36/keymaps/kevkevco/features/num_word.c
  6. +2
    -15
      keyboards/kinesis/kint36/keymaps/kevkevco/features/num_word.h
  7. +2
    -14
      keyboards/kinesis/kint36/keymaps/kevkevco/features/select_word.c
  8. +2
    -13
      keyboards/kinesis/kint36/keymaps/kevkevco/features/select_word.h
  9. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/keycodes.h
  10. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/keymap.c
  11. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/layers.h
  12. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/process_records.c
  13. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/process_records.h
  14. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/tap_dances.c
  15. +1
    -1
      keyboards/kinesis/kint36/keymaps/kevkevco/tap_dances.h

+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/config.h View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/features/caps_word.c View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "caps_word.h"


+ 2
- 43
keyboards/kinesis/kint36/keymaps/kevkevco/features/caps_word.h View File

@ -1,46 +1,5 @@
// Copyright 2021-2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
// Caps Word, activated by pressing both shift keys at the same time.
//
// This library implements "Caps Word", which is like conventional Caps Lock,
// but automatically disables itself at the end of the word. This is useful for
// typing all-caps identifiers like `MOD_MASK_ALT`.
//
// Caps Word is activated by pressing the left and right shift keys at the same
// time. This way you don't need a dedicated key for using Caps Word. I've
// tested that this works as expected with one-shot mods and Space Cadet Shift.
// If your shift keys are mod-taps, activate Caps Word by holding both shift
// mod-tap keys until the tapping term, release them, then begin typing.
//
// Optionally, Caps Word may be configured to deactivate if the keyboard is idle
// for some time. This is useful to mitigate unintended shifting when you get
// interrupted or switch to the mouse while Caps Word is active. In your
// config.h, define `CAPS_WORD_IDLE_TIMEOUT` with a time in milliseconds:
//
// #define CAPS_WORD_IDLE_TIMEOUT 5000 // Turn off Caps Word after 5 seconds.
//
// and in your keymap.c, define (or add to) `matrix_scan_user()` as
//
// void matrix_scan_user(void) {
// caps_word_task();
// // Other tasks...
// }
//
// For full documentation, see
// https://getreuer.info/posts/keyboards/caps-word
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


+ 30
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/features/capwords.md View File

@ -1,4 +1,33 @@
# Cap Words
# Summary
Caps Word, activated by pressing both shift keys at the same time.
This library implements "Caps Word", which is like conventional Caps Lock,
but automatically disables itself at the end of the word. This is useful for
typing all-caps identifiers like `MOD_MASK_ALT`.
Caps Word is activated by pressing the left and right shift keys at the same
time. This way you don't need a dedicated key for using Caps Word. I've
tested that this works as expected with one-shot mods and Space Cadet Shift.
If your shift keys are mod-taps, activate Caps Word by holding both shift
mod-tap keys until the tapping term, release them, then begin typing.
Optionally, Caps Word may be configured to deactivate if the keyboard is idle
for some time. This is useful to mitigate unintended shifting when you get
interrupted or switch to the mouse while Caps Word is active. In your
config.h, define `CAPS_WORD_IDLE_TIMEOUT` with a time in milliseconds:
#define CAPS_WORD_IDLE_TIMEOUT 5000 // Turn off Caps Word after 5 seconds.
and in your keymap.c, define (or add to) `matrix_scan_user()` as
```
void matrix_scan_user(void) {
caps_word_task();
// Other tasks...
}
```
For full documentation, see
https://getreuer.info/posts/keyboards/caps-word
# Documentation
This is taken from [Pascal Getreuer's implemenation](https://getreuer.info/posts/keyboards/caps-word/index.html), with a number of modifications.


+ 2
- 15
keyboards/kinesis/kint36/keymaps/kevkevco/features/num_word.c View File

@ -1,18 +1,5 @@
/* Copyright 2021 Joshua T.
*
* 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/>.
*/
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "num_word.h"


+ 2
- 15
keyboards/kinesis/kint36/keymaps/kevkevco/features/num_word.h View File

@ -1,18 +1,5 @@
/* Copyright 2021 Joshua T.
*
* 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/>.
*/
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include QMK_KEYBOARD_H


+ 2
- 14
keyboards/kinesis/kint36/keymaps/kevkevco/features/select_word.c View File

@ -1,17 +1,5 @@
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
//
// For full documentation, see
// https://getreuer.info/posts/keyboards/select-word


+ 2
- 13
keyboards/kinesis/kint36/keymaps/kevkevco/features/select_word.h View File

@ -1,16 +1,5 @@
// Copyright 2021-2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
//
//
// Select word/line button.


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/keycodes.h View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/keymap.c View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "process_records.h"


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/layers.h View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/process_records.c View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "process_records.h"


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/process_records.h View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/tap_dances.c View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "tap_dances.h"


+ 1
- 1
keyboards/kinesis/kint36/keymaps/kevkevco/tap_dances.h View File

@ -1,4 +1,4 @@
// Copyright 2022 kevkevco <hello@kevkev.co>
// Copyright 2022 Kevin Goldberg @kevkevco <hello@kevkev.co>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


Loading…
Cancel
Save