Hello, I’m brazilian. : p
If you are using Windows, you may use a program which you can find on Microsoft website.
Microsoft Keyboard Layout Creator 1.4 -> https://www.microsoft.com/en-us/download/confirmation.aspx?id=22339
- create a new keyboard layout from scratch
- copy an existing keyboard scheme and add extra features.
Since you are using an english keyboard, I would suggest you to:
- File > Load existing keyboard > United States-international.
Why? You may ask… it’s because it got already ‘dead keys’. They work like this:
You first press ( ~ ) and spacebar afterwards, it will print the symbol alone…
If you press tilde, and after the letter ( a ), it will print ã.
Or… if you press accent aigu ( ´ ) and spacebar, it will print the symbol…
but if you press c, it will print ( ç ) .
Then you may add extra commands anywhere you want, using any command you wish to evoke other symbols.
After completing your editing you may export the keyboard layout as an installer. You install and set it as default keyboard layout in the Control Panel (or Settings… I simply can’t remember where to find stuff in Windows 10).