Browse Source

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
pull/5134/head 0.6.282
Konstantin Đorđević 5 years ago
committed by Drashna Jaelre
parent
commit
d7754a19b9
6 changed files with 3 additions and 8 deletions
  1. +1
    -2
      keyboards/converter/ibm_terminal/keymaps/default/rules.mk
  2. +0
    -1
      keyboards/converter/ibm_terminal/rules.mk
  3. +0
    -1
      keyboards/converter/palm_usb/rules.mk
  4. +0
    -1
      keyboards/converter/sun_usb/rules.mk
  5. +0
    -3
      quantum/process_keycode/process_unicodemap.c
  6. +2
    -0
      quantum/process_keycode/process_unicodemap.h

+ 1
- 2
keyboards/converter/ibm_terminal/keymaps/default/rules.mk View File

@ -12,9 +12,8 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = yes
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
API_SYSEX_ENABLE = no


+ 0
- 1
keyboards/converter/ibm_terminal/rules.mk View File

@ -58,7 +58,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = yes
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
PS2_USE_USART = yes


+ 0
- 1
keyboards/converter/palm_usb/rules.mk View File

@ -22,7 +22,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = no
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE


+ 0
- 1
keyboards/converter/sun_usb/rules.mk View File

@ -22,7 +22,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = yes
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE


+ 0
- 3
quantum/process_keycode/process_unicodemap.c View File

@ -17,9 +17,6 @@
#include "process_unicodemap.h"
#include "process_unicode_common.h"
__attribute__((weak))
const uint32_t PROGMEM unicode_map[] = {};
void register_hex32(uint32_t hex) {
bool onzerostart = true;
for(int i = 7; i >= 0; i--) {


+ 2
- 0
quantum/process_keycode/process_unicodemap.h View File

@ -19,5 +19,7 @@
#include "quantum.h"
#include "process_unicode_common.h"
extern const uint32_t PROGMEM unicode_map[];
void unicodemap_input_error(void);
bool process_unicodemap(uint16_t keycode, keyrecord_t *record);

Loading…
Cancel
Save