I write in both French and English and solved the problem for myself by buying a Spanish keyboard.
Spanish keyboards are qwerty and I need this as my brain can’t cope with azerty…but the Spanish keyboard has all the accents needed for French(these are dead letters so you type the accent and the letter afterwards) plus all Spanish letters (Ñ ñ) and punctuation ¿¿ ¡¡ and ç and Ç thrown in for free. I just go down to San Sebastian once a year when I can’t read the keys anymore. A good excuse for doing the tapas bars… (…)