Compare commits

...
5 Commits
Author SHA1 Message Date
Shihpin Tseng 68fad7b777 Enable custom chibios sub-platform 2019-02-14 21:06:26 -08:00
fauxpark 7c2bee8b88 Swap KBD75 caps lock LED pin levels (#5132) 2019-02-14 21:01:40 -08:00
Ben 1e1b55fbdf Improve Encoder documentation (#5130) 2019-02-14 21:00:57 -08:00
Konstantin Đorđević d7754a19b9 Remove problematic unicode_map stub definition in process_unicodemap.c (#5110)
* Remove problematic unicode_map stub definition in process_unicodemap.c

* Add unicode_map declaration to process_unicodemap.h

* Disable UNICODEMAP on converter boards that don't use it
2019-02-14 20:55:31 -08:00
fauxpark 3a3de84e40 Tweak issue templates (capitalisation mostly) (#5133)
* Tweak issue templates (capitalisation mostly)

* Consistent headings
2019-02-14 20:44:27 -08:00
14 changed files with 58 additions and 56 deletions

No files matched your search

+16 -15
View File
@@ -2,30 +2,31 @@
name: Bug report name: Bug report
about: Create a report to help us improve the QMK Firmware about: Create a report to help us improve the QMK Firmware
--- ---
<!-- Provide a general summary of the bug in the Title above --> <!-- Provide a general summary of the bug in the title above. -->
<!-- This template is entirely option and can be removed, but is here to help both you and us. --> <!--- This template is entirely optional and can be removed, but is here to help both you and us. -->
<!-- This text and anything on lines wrapped like this one will not show up in the final text. This text is to help us and you. --> <!--- Anything on lines wrapped in comments like these will not show up in the final text. -->
**Describe the bug** ## Describe the Bug
<!-- A clear and concise description of what the bug is. --> <!-- A clear and concise description of what the bug is. -->
**System Information** ## System Information
- Keyboard: - Keyboard:
- Revision (if applicable): - Revision (if applicable):
- Operating System: - Operating system:
- avr-gcc version: - AVR GCC version:
<!-- Run `avr-gcc --version` to find out --> <!-- Run `avr-gcc --version` to find this out. -->
- arm gcc version: - ARM GCC version:
<!-- Run `arm-none-eabi-gcc --version` to find out --> <!-- Run `arm-none-eabi-gcc --version` to find this out. -->
- QMK Firmware version: - QMK Firmware version:
<!-- You can run `git describe --abbrev=0 --tags` to find this out --> <!-- Run `git describe --abbrev=0 --tags` to find this out. -->
- Any keyboard related software installed? - Any keyboard related software installed?
- [ ] Auto Hot Key - [ ] AutoHotKey
- [ ] Karabiner - [ ] Karabiner
- [ ] Other - [ ] Other:
**Additional context** ## Additional Context
<!-- Add any other context about the problem here. --> <!-- Add any other relevant information about the problem here. -->
+7 -7
View File
@@ -2,18 +2,18 @@
name: Feature request name: Feature request
about: Suggest a new feature or changes to existing features about: Suggest a new feature or changes to existing features
--- ---
<!--- Provide a general summary of the changes you want in the Title above --> <!--- Provide a general summary of the changes you want in the title above. -->
<!-- This template is entirely option and can be removed, but is here to help both you and us. --> <!--- This template is entirely optional and can be removed, but is here to help both you and us. -->
<!-- This text and anything on lines wrapped like this one will not show up in the final text. This text is to help us and you. --> <!--- Anything on lines wrapped in comments like these will not show up in the final text. -->
## Feature Request Type ## Feature Request Type
- [ ] Core Functionality - [ ] Core functionality
- [ ] Add-on hardware support (e.g. audio, RGB, OLED screen, etc.) - [ ] Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
- [ ] Alteration (enhancement/optimization) of existing Feature(s) - [ ] Alteration (enhancement/optimization) of existing feature(s)
- [ ] New behavior - [ ] New behavior
## Description ## Description
<!-- A few sentences describing what it is that you'd like to see. Additional information (such as links to spec sheets, licensing info, other related issues or PR's, etc) would be helpful. --> <!-- A few sentences describing what it is that you'd like to see in QMK. Additional information (such as links to spec sheets, licensing info, other related issues or PRs, etc) would be helpful. -->
+3 -3
View File
@@ -2,8 +2,8 @@
name: Other issues name: Other issues
about: Anything else that doesn't fall into the above categories. about: Anything else that doesn't fall into the above categories.
--- ---
<!--- Provide a general summary of the changes you want in the Title above --> <!--- Provide a general summary of the changes you want in the title above. -->
<!-- This text and anything on lines wrapped like this one will not show up in the final text. This text is to help us and you. --> <!--- Anything on lines wrapped in comments like these will not show up in the final text. -->
<!-- Please check https://docs.qmk.fm/#/support for additional resources first. If that doesn't answer your question, check the bug report option, as that may be more appropriate. --> <!-- Please check https://docs.qmk.fm/#/support for additional resources first. If that doesn't answer your question, choose the bug report template instead, as that may be more appropriate. -->
+15 -13
View File
@@ -1,32 +1,34 @@
<!--- Provide a general summary of your changes in the Title above --> <!--- Provide a general summary of your changes in the title above. -->
<!--- This template is entirely option and can be removed, but is here to help both you and us. --> <!--- This template is entirely optional and can be removed, but is here to help both you and us. -->
<!--- This text and anything on lines wrapped like this one will not show up in the final text. This text is to help us and you. --> <!--- Anything on lines wrapped in comments like these will not show up in the final text. -->
## Description ## Description
<!--- Describe your changes in detail -->
## Types of changes <!--- Describe your changes in detail here. -->
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
## Types of Changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->
- [ ] Core - [ ] Core
- [ ] Bugfix - [ ] Bugfix
- [ ] New Feature - [ ] New feature
- [ ] Enhancement/Optimization - [ ] Enhancement/optimization
- [ ] Keyboard (addition or update) - [ ] Keyboard (addition or update)
- [ ] Keymap/Layout/Userspace (addition or update) - [ ] Keymap/layout/userspace (addition or update)
- [ ] Documentation - [ ] Documentation
## Issues Fixed or Closed by This PR
## Issues Fixed or Closed by this PR
* *
## Checklist: ## Checklist
<!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project. - [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation. - [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. - [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document. (https://docs.qmk.fm/#/contributing) - [ ] I have read the [**CONTRIBUTING** document](https://docs.qmk.fm/#/contributing).
- [ ] I have added tests to cover my changes. - [ ] I have added tests to cover my changes.
- [ ] I have tested the changes and verified that they work and don't break anything (as well as I can manage). - [ ] I have tested the changes and verified that they work and don't break anything (as well as I can manage).
+1 -1
View File
@@ -38,7 +38,7 @@ or `keymap.c`:
} else { } else {
tap_code(KC_PGUP); tap_code(KC_PGUP);
} }
} else if (index == 2) { } else if (index == 1) { /* Second encoder
if (clockwise) { if (clockwise) {
tap_code(KC_UP); tap_code(KC_UP);
} else { } else {
@@ -12,7 +12,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6 AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = yes
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
PS2_USE_USART = yes PS2_USE_USART = yes
@@ -58,7 +58,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6 AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = yes
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
PS2_USE_USART = yes PS2_USE_USART = yes
-1
View File
@@ -22,7 +22,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6 AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = no
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# 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
-1
View File
@@ -22,7 +22,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6 AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = yes
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# 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
+4 -4
View File
@@ -1,14 +1,14 @@
#include "rev1.h" #include "rev1.h"
void led_set_kb(uint8_t usb_led) { void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinHigh(B2);
} else {
writePinLow(B2); writePinLow(B2);
} else {
writePinHigh(B2);
} }
led_set_user(usb_led); led_set_user(usb_led);
} }
void matrix_init_kb(void) { void matrix_init_kb(void) {
+4 -4
View File
@@ -1,14 +1,14 @@
#include "rev2.h" #include "rev2.h"
void led_set_kb(uint8_t usb_led) { void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinHigh(B2);
} else {
writePinLow(B2); writePinLow(B2);
} else {
writePinHigh(B2);
} }
led_set_user(usb_led); led_set_user(usb_led);
} }
void matrix_init_kb(void) { void matrix_init_kb(void) {
@@ -17,9 +17,6 @@
#include "process_unicodemap.h" #include "process_unicodemap.h"
#include "process_unicode_common.h" #include "process_unicode_common.h"
__attribute__((weak))
const uint32_t PROGMEM unicode_map[] = {};
void register_hex32(uint32_t hex) { void register_hex32(uint32_t hex) {
bool onzerostart = true; bool onzerostart = true;
for(int i = 7; i >= 0; i--) { for(int i = 7; i >= 0; i--) {
@@ -19,5 +19,7 @@
#include "quantum.h" #include "quantum.h"
#include "process_unicode_common.h" #include "process_unicode_common.h"
extern const uint32_t PROGMEM unicode_map[];
void unicodemap_input_error(void); void unicodemap_input_error(void);
bool process_unicodemap(uint16_t keycode, keyrecord_t *record); bool process_unicodemap(uint16_t keycode, keyrecord_t *record);
+6 -2
View File
@@ -39,9 +39,13 @@ include $(STARTUP_MK)
# HAL-OSAL files (optional). # HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/hal.mk
PLATFORM_MK = $(CHIBIOS)/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)/platform.mk ifeq ("$(PLATFORM_NAME)","")
PLATFORM_NAME = platform
endif
PLATFORM_MK = $(CHIBIOS)/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)/$(PLATFORM_NAME).mk
ifeq ("$(wildcard $(PLATFORM_MK))","") ifeq ("$(wildcard $(PLATFORM_MK))","")
PLATFORM_MK = $(CHIBIOS_CONTRIB)/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)/platform.mk PLATFORM_MK = $(CHIBIOS_CONTRIB)/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)/$(PLATFORM_NAME).mk
endif endif
include $(PLATFORM_MK) include $(PLATFORM_MK)