๐Ÿ’ฅ๐Ÿฃemoji ํ‚ค ์„ค์ •๐Ÿฃ๐Ÿ’ฅ

7478 ๋‹จ์–ด ergodox
์ด ํˆฌ๊ณ ๋Š” ErgoDox Advent Calendar 2016์˜ 17์ผ์งธ ๊ธ€์ด๋‹ค.
์„ค์ •ํ•˜๊ฒ ๋‹ค๋ฉด์„œ ์ œ๋Œ€๋กœ ์„ค์ •ํ•˜์ง€ ๋ชปํ•œ ๋ง์„ ์ ๋Š”๋‹ค.
emoji๋ฅผ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ•ฉ๋‹ˆ๊นŒ?
  • Is it possible to map Emoji's as keycodes? : olkb
  • How to use UCIS properly? ยท Issue #837 ยท jackhumbert/qmk_firmware
  • ์ด ๊ทผ์ฒ˜์— ํ•  ๋ง์ด ์žˆ์–ด์š”.
    ์ฃผ์˜์ ์€ ์šด์˜์ฒด์ œ์— ๋”ฐ๋ผ ์กฐ์ž‘ ๋ฐฉ๋ฒ•๋„ ๋‹ค๋ฅด๋‹ค๋Š” ๊ฒƒ์ด๋‹ค.
    qmk_firmware ๋ฌธ์„œ
    Unicode support
    Home ยท jackhumbert/qmk_firmware Wiki
    ์ฝ์–ด.
    ์ฐธ์กฐ ์†Œ์Šค
  • qmk_firmware/keymap.c at master ยท jackhumbert/qmk_firmware
  • qmk_firmware/Makefile at master ยท jackhumbert/qmk_firmware
  • ์šฐ๋ฆฌ ์ด ์˜ˆ์ฆ์„ ์ฐธ๊ณ ํ•ฉ์‹œ๋‹ค.
    1. ์œ ๋‹ˆ์ฝ”๋“œ ์‚ฌ์šฉ ์„ค์ •
    keymap.c
    #include "process_unicode.h"
    
    Makefile
    UNICODEMAP_ENABLE = yes     # Unicode map
    
    2. OS ์ง€์ •
    set_unicode_input_mode(UC_***);
    
    qmk_firmware/process_unicode.h at 637170d56043a5a0f11445f605c983e41def2a08 ยท jackhumbert/qmk_firmware
    ์—ฌ๊ธฐ์— ์ •์˜๋œ OS ๊ฐ’์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
    3. ํ‚ค ์ž…๋ ฅ
    X(HART2)
    
    ์„ค์ •๋œ OS์— ๋”ฐ๋ผ ์œ ๋‹ˆ์ฝ”๋“œ๋ฅผ ์ ์ ˆํžˆ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
    4. ์†Œ์Šค ์„ค์ • ์ž…๋ ฅ
    OS ์ธก๋ฉด์—์„œ ์œ ๋‹ˆ์ฝ”๋“œ ํ™œ์„ฑํ™”
    ๊ทธ๋ฆฌ๊ณ  ๋‹ค ํ–ˆ์–ด์š”.
    ์•ˆ ๋˜์ง€๋งŒ.
    ์–ด์จŒ๋“  ๋งฅOS๋กœ ํ•ด๋ดค์–ด์š”.์™œ ์•ˆ ๋‚˜์™€?
    OSX doesn't have any means of inputting unicode over 0xFFFF unfortunately.
    ์˜ˆ.
    0xFFF ๋‚ด์˜โ˜€์ด ์ •๋„๋ฉด ๋์–ด.U+2600์ด๋‹ˆ๊นŒ์š”.
    โ˜€๏ธ Black Sun With Rays Emoji
    ๊ทธ๋Ÿฌ๋‚˜ ๋Œ€๋ถ€๋ถ„์˜ ๋“œ๋กœ์ž‰ ๋ฌธ์ž๋Š” 0xFFF ์ด์™ธ์˜ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    ๐Ÿฃ์ƒ๊ฐํ•˜๋‹ค
    ์—ญ์‹œ ์“ฐ๊ณ  ์‹ถ์€ ๊ทธ๋ฆผ๋ฌธ์ž๋Š” ์•„๋‹ˆ๋‹ค๐Ÿฃ Sushi Emoji.U+1 F363 ์•„๋‹™๋‹ˆ๊นŒ?
    ๐Ÿฃ๋„ํ™”๋ฌธ์žํ‚ค์˜ ์‹คํ˜„ - ์ˆ˜ํ•„์ผ๊ธฐ
    ๋งŒ์•ฝ ๊ทธ๋ ‡๊ฒŒ ์ƒ๊ฐํ•œ๋‹ค๋ฉด ๋งˆ์นจ ๋ˆ„๊ตฐ๊ฐ€๊ฐ€ ํ•˜๊ณ  ์žˆ์œผ๋‹ˆ ๋‚ด๊ฐ€ ์†Œ๊ฐœํ•ด ์ค„๊ฒŒ.
    ์ž…๋ ฅ ๋ฐฉ๋ฒ•์„ ํ™•์žฅํ•˜๊ณ  ์ถœ๋ ฅํ•˜๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.
    ๋˜ ๋‹ค๋ฅธ ํ•ด๊ฒฐ ๋ฐฉ์•ˆ์œผ๋กœ Salo๋ฌธ์Œ์„ ์‚ฌ์šฉํ•˜๋ฉด 0xFFF์˜ ๋ฒ”์œ„ ๋‚ด์—์„œ ์ง„ํ–‰ํ•  ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.
    Windows๋Š” ์–ด๋–ป์Šต๋‹ˆ๊นŒ?
    qmk_firmware์˜ ์œ ๋‹ˆ๋ฒ„์„ค๋กœ ์ง€์›๋˜๋Š” ๋‚ด์šฉ์€ ์ด๋ ‡๋‹ค.
    qmk_firmware/process_unicode.c at 8d60354d5a116b6cb1fc32eac7461eb125543c7d ยท jackhumbert/qmk_firmware
    process_unicode.c
    void unicode_input_start (void) {
      switch(input_mode) {
      case UC_OSX:
        register_code(KC_LALT);
        break;
      case UC_LNX:
        register_code(KC_LCTL);
        register_code(KC_LSFT);
        register_code(KC_U);
        unregister_code(KC_U);
        unregister_code(KC_LSFT);
        unregister_code(KC_LCTL);
        break;
      case UC_WIN:
        register_code(KC_LALT);
        register_code(KC_PPLS);
        unregister_code(KC_PPLS);
        break;
      case UC_WINC:
        register_code(KC_RALT);
        unregister_code(KC_RALT);
        register_code(KC_U);
        unregister_code(KC_U);
      }
      wait_ms(UNICODE_TYPE_DELAY);
    }
    
    Home ยท jackhumbert/qmk_firmware Wiki
  • UC_OSX: MacOS Unicode Hex Input support. Works only up to 0xFFFF. Disabled by default. To enable: go to System Preferences -> Keyboard -> Input Sources, and enable Unicode Hex.
  • UC_LNX: Unicode input method under Linux. Works up to 0xFFFFF. Should work almost anywhere on ibus enabled distros. Without ibus, this works under GTK apps, but rarely anywhere else.
  • UC_WIN: (not recommended) Windows built-in Unicode input. To enable: create registry key under HKEY_CURRENT_USER\Control Panel\Input Method\EnableHexNumpad of type REG_SZ called EnableHexNumpad, set its value to 1, and reboot. This method is not recommended because of reliability and compatibility issue, use WinCompose method below instead.
  • UC_WINC: Windows Unicode input using WinCompose. Requires WinCompose. Works reliably under many (all?) variations of Windows.
  • ์„ค๋ช…์€ ์œ„์—์„œ ๋งํ•œ ๋ฐ”์™€ ๊ฐ™๋‹ค.
    Windows์—๋Š” ๋‘ ๊ฐ€์ง€๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.
  • UC_WIN Alt ํ‚ค๋ฅผ ๋ˆ„๋ฅธ ์ฑ„ NUMPAD๋ฅผ ํ†ตํ•ด ์ถœ๋ ฅ
  • UC_WINC: WinCompose๋ฅผ ์‚ฌ์šฉํ•œ ์ถœ๋ ฅ
  • ๋˜๋‹คํ›„์ž๋Š” ๋ฒ„์ „์— ์˜์กดํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์— ์ถ”์ฒœ๋œ๋‹ค.
    ์ด๊ฒฐ์‚ฐ
    macOS
    ๐Ÿฃ๋„ํ™”๋ฌธ์žํ‚ค์˜ ์‹คํ˜„ - ์ˆ˜ํ•„์ผ๊ธฐ
    ์ž…๋ ฅ ์†Œ์Šค ํ™•์žฅ ๋˜๋Š” ์†Œ์Šค ์Œ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
    Windows
    WinCompose ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
    โ†’์•„์ง ์™„์„ฑ๋˜์ง€ ์•Š์•˜์œผ๋‹ˆ ๊ฐ€๋Šฅํ•˜๋ฉด ๋ณด์ถฉํ•ด ๋‘๊ฒ ์Šต๋‹ˆ๋‹ค.
    Linux
    ๋ˆ„๊ฐ€ ํ•ด๋ณผ๋ž˜์š”?
    ๊ทธ๋Ÿผ ๋‹คํ–‰์ด๋„ค์š”.๐Ÿฃ์ค‘์š”ํ•œ ์ƒ๋ช…!

    ์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ