Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mod_state = get_mods();
- switch (keycode) {
- case IRONY: // Outputs Irony/Interrobang symbols
- if ((get_mods() & MOD_MASK_SHIFT)) {
- irony_shifted = true;
- } else {
- irony_shifted = false;
- }
- if (record->event.pressed) {
- if (irony_shifted) {
- send_unicode_string(bang_str);
- } else {
- send_unicode_string(irony_str);
- }
Add Comment
Please, Sign In to add comment