@ -1,5 +1,5 @@ | |||||
# f401 blackpill onekey | |||||
# F401 Blackpill onekey | |||||
Supported Hardware: *STM32F401CCU6 WeAct v1.3*. | |||||
* Supported Hardware: STM32F401CCU6 WeAct v1.3 | |||||
To trigger keypress, short together pins *B0* and *A7*. | To trigger keypress, short together pins *B0* and *A7*. |
@ -1,5 +1,5 @@ | |||||
# f411 blackpill onekey | |||||
# F411 Blackpill onekey | |||||
Supported Hardware: *STM32F411CEU6 WeAct v1.3*. | |||||
* Supported Hardware: STM32F411CEU6 WeAct v1.3 | |||||
To trigger keypress, short together pins *B0* and *A7*. | To trigger keypress, short together pins *B0* and *A7*. |
@ -1,9 +1,9 @@ | |||||
# f411 blackpill onekey | |||||
# F411 Blackpill onekey | |||||
Supported Hardware: *STM32F411CEU6 WeAct v1.3*. | |||||
* Supported Hardware: STM32F411CEU6 WeAct v1.3 | |||||
To trigger keypress, short together pins *B0* and *A7*. | To trigger keypress, short together pins *B0* and *A7*. | ||||
This variant requires the TinyUF2 bootloader to be installed. This can be downloaded from the [tinyuf2 releases page](https://github.com/adafruit/tinyuf2/releases). The F401 blackpill binary works for both F401- and F411-based blackpill devices. | This variant requires the TinyUF2 bootloader to be installed. This can be downloaded from the [tinyuf2 releases page](https://github.com/adafruit/tinyuf2/releases). The F401 blackpill binary works for both F401- and F411-based blackpill devices. | ||||
Double-tap reset to enter bootloader mode. Copy the built uf2 file to the device by dragging the file to the new USB disk. | |||||
Double-tap reset to enter bootloader mode. Copy the built uf2 file to the device by dragging the file to the new USB disk. |
@ -1,3 +1,3 @@ | |||||
# bluepill onekey | |||||
# Bluepill onekey | |||||
To trigger keypress, short together pins *B0* and *A7*. | To trigger keypress, short together pins *B0* and *A7*. |
@ -1,3 +1,3 @@ | |||||
# Elite-C onekey | # Elite-C onekey | ||||
To trigger keypress, short together pins *F4* and *F5* (marked on the PCB as *A3* and *A2*). | |||||
To trigger keypress, short together pins *F4* and *F5*. |
@ -0,0 +1,20 @@ | |||||
#include QMK_KEYBOARD_H | |||||
enum custom_keycodes { | |||||
KC_HELLO = SAFE_RANGE, | |||||
}; | |||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||||
LAYOUT_ortho_1x1(KC_HELLO) | |||||
}; | |||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||||
switch (keycode) { | |||||
case KC_HELLO: | |||||
if (record->event.pressed) { | |||||
printf("Hello world!\n"); | |||||
} | |||||
return false; | |||||
} | |||||
return true; | |||||
} |
@ -1 +1 @@ | |||||
#include "onekey.h" | |||||
#include "onekey.h" |
@ -1,3 +1,3 @@ | |||||
# Proton C onekey | |||||
# Proton-C onekey | |||||
To trigger keypress, short together pins *A1* and *A2*. | To trigger keypress, short together pins *A1* and *A2*. |
@ -1,15 +1,17 @@ | |||||
# onekey handwired | |||||
# onekey | |||||
Custom handwired one key keyboard. | |||||
Custom handwired one key keyboard. **See each individual board for pin information.** | |||||
Keyboard Maintainer: QMK Community | |||||
Hardware Supported: bluepill, Elite-C, Pro Micro, Proton C, Teensy 2.0, Teensy++ 2.0, Teensy LC, Teensy 3.2 | |||||
Hardware Availability: | |||||
**See each individual board for pin infomation** | |||||
* Keyboard Maintainer: QMK Community | |||||
* Hardware Supported: bluepill, Elite-C, Pro Micro, Proton C, Teensy 2.0, Teensy++ 2.0, Teensy LC, Teensy 3.2 | |||||
* Hardware Availability: *n/a* | |||||
Make example for this keyboard (after setting up your build environment): | Make example for this keyboard (after setting up your build environment): | ||||
make handwired/onekey:default | make handwired/onekey:default | ||||
Flashing example for this keyboard: | |||||
make handwired/onekey: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). | 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). |
@ -1,21 +1,20 @@ | |||||
# Build Options | # Build Options | ||||
# change yes to no to disable | # change yes to no to disable | ||||
# | # | ||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | |||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||||
CONSOLE_ENABLE = yes # Console for debug(+400) | |||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||||
MOUSEKEY_ENABLE = yes # Mouse keys | |||||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||||
CONSOLE_ENABLE = yes # Console for debug | |||||
COMMAND_ENABLE = no # Commands for debug and configuration | COMMAND_ENABLE = no # Commands for debug and configuration | ||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||||
NKRO_ENABLE = yes # USB Nkey Rollover | NKRO_ENABLE = yes # USB Nkey Rollover | ||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||||
UNICODE_ENABLE = no # Unicode | |||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||||
AUDIO_ENABLE = no # Audio output on port C6 | |||||
BLUETOOTH_ENABLE = no # Enable Bluetooth | |||||
AUDIO_ENABLE = no # Audio output | |||||
DEFAULT_FOLDER = handwired/onekey/promicro | DEFAULT_FOLDER = handwired/onekey/promicro | ||||
LAYOUTS = ortho_1x1 | LAYOUTS = ortho_1x1 |
@ -1,5 +1,5 @@ | |||||
# STM32F072 Discovery kit onekey | # STM32F072 Discovery kit onekey | ||||
Supported Hardware: <https://www.st.com/en/evaluation-tools/32f072bdiscovery.html> | |||||
* Supported Hardware: [STM32F072 Discovery](https://www.st.com/en/evaluation-tools/32f072bdiscovery.html) | |||||
To trigger keypress, short together pins *B4* and *B5*. | To trigger keypress, short together pins *B4* and *B5*. |
@ -1,3 +1,3 @@ | |||||
# Teensy 2.0 onekey | # Teensy 2.0 onekey | ||||
To trigger keypress, short together pins *F4* and *F5* | |||||
To trigger keypress, short together pins *F4* and *F5*. |
@ -1,3 +1,3 @@ | |||||
# Teensy++ 2.0 onekey | # Teensy++ 2.0 onekey | ||||
To trigger keypress, short together pins *F4* and *F5* | |||||
To trigger keypress, short together pins *F4* and *F5*. |