On computer side, it's possible to create a layout that handle É or À (see [url]www://bepo.fr[/url]).
For my DIY keyboards I did this on firmware to keep an AZERTY configuration on the computer. I mainly work on windows at my office so I decided to use "alt values". Probably not the simpler and more efficient solution :
Code: Select all
// Keyword definition type :
// 1 : send a caracter
// 2 : send string
// 3 : send ALT code
// 4 : sequence call
// 5 : send a raw key (for non printable caracter)
// 6 : function call
struct KeyWord {
int type ;
int key ;
char* altval ;
char* string ;
int fctptr ;
const struct KeyWord* seq[KEY_SEQ_LENGTH] ;
} ;
for example :
Code: Select all
const PROGMEM KeyWord K_A_C8 = { 1,GRAVE_ACCENT_BITS + KEY_E + SHIFT_MASK ,"","È",0,NULL};
const PROGMEM KeyWord K_S_006 = { 2,0 ,"","ORDER BY DESC ",0,NULL};
const PROGMEM KeyWord K_A_C9 = { 3,0,"0201","É",0,NULL};
const PROGMEM KeyWord K_L_1 = { 4,0,"","[ ]",0,{ &K_A_5B,&K_A_5D,&K_LEFT }};
const PROGMEM KeyWord K_F6 = { 5,63,"","F6" ,0,NULL};
Not portable, a similar solution has to be found on other OS (type 7, 8 ...).
A real unicode keyboard managment would be a great improvement.