Qmk_firmware: No Interrobang‽

Created on 1 Nov 2018  Â·  4Comments  Â·  Source: qmk/qmk_firmware

good first issue question

Most helpful comment

‽ in three easy steps:

  1. Add UNICODE_ENABLE = yes to your rules.mk.
  2. Call set_unicode_input_mode with the correct input mode for your OS in matrix_init_user in keymap.c. For example:
void matrix_init_user(void) {
  set_unicode_input_mode(UC_LNX);
}
  1. Put UC(0x203D) somewhere in your layout in keymap.c.

If you're keeping your layout code aligned nicely, UC(0x203D) will be longer than the other keycodes; in that case I suggest you #define BANG UC(0x203D) at the top of the file and then put BANG in the keymap instead.

I think this can be closed.

All 4 comments

You can input an interrobang via unicode support

To clarify, the interrobang is not in the set of characters supported by the usb HID scancodes.
That means that the only way to support it is via alternate input methods. And specifically through unicode input.

‽ in three easy steps:

  1. Add UNICODE_ENABLE = yes to your rules.mk.
  2. Call set_unicode_input_mode with the correct input mode for your OS in matrix_init_user in keymap.c. For example:
void matrix_init_user(void) {
  set_unicode_input_mode(UC_LNX);
}
  1. Put UC(0x203D) somewhere in your layout in keymap.c.

If you're keeping your layout code aligned nicely, UC(0x203D) will be longer than the other keycodes; in that case I suggest you #define BANG UC(0x203D) at the top of the file and then put BANG in the keymap instead.

I think this can be closed.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jacwib picture jacwib  Â·  3Comments

henrebotha picture henrebotha  Â·  4Comments

michaeldauria picture michaeldauria  Â·  3Comments

fredizzimo picture fredizzimo  Â·  4Comments

kb3dow picture kb3dow  Â·  3Comments