Merge pull request #844 from priyadi/unicode_wincompose_input
Unicode WinCompose input method
This commit is contained in:
		
						commit
						8d60354d5a
					
				
					 2 changed files with 10 additions and 4 deletions
				
			
		|  | @ -42,6 +42,11 @@ void unicode_input_start (void) { | |||
|     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); | ||||
| } | ||||
|  |  | |||
|  | @ -3,10 +3,11 @@ | |||
| 
 | ||||
| #include "quantum.h" | ||||
| 
 | ||||
| #define UC_OSX 0 | ||||
| #define UC_LNX 1 | ||||
| #define UC_WIN 2 | ||||
| #define UC_BSD 3 | ||||
| #define UC_OSX 0  // Mac OS X
 | ||||
| #define UC_LNX 1  // Linux
 | ||||
| #define UC_WIN 2  // Windows 'HexNumpad'
 | ||||
| #define UC_BSD 3  // BSD (not implemented)
 | ||||
| #define UC_WINC 4 // WinCompose https://github.com/samhocevar/wincompose
 | ||||
| 
 | ||||
| #ifndef UNICODE_TYPE_DELAY | ||||
| #define UNICODE_TYPE_DELAY 10 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jack Humbert
						Jack Humbert