If you are working on a windows environment, you may install and use the Microsoft Keyboard Layout Creator.
The idea is to add some key combinations to your current keyboard that will allow you to produce the characters you need, and give a new name to this keyboard.
These two videos provide the basics for using the app:
https://www.youtube.com/watch?v=nkEUCtqm0uc
https://www.youtube.com/watch?v=87bt7GBM02M
Here are the codes for some characters you may want to add (other codes may be found here:
http://www.utf8-chartable.de/unicode-utf8-table.pl):
¿ = U+00bf
¡ = U+00a1
´ = U+00B4 (use this. You will type this one and then the character to obtain á, é, ó, ú, í, )
U+0060 (dead key grave accent, use this. You will type this one and then the character to obtain à)
̃ U+0303 (combining tilde., use this. You will need to type the character FIRST and and then this one to obtain things like ã ẽ Ã ) -
^ = U+005E (use this. you will type this one and then the character to obtain â ê,)
¨ U+00a8 (dead key - combining diaeresis, use this. . you will type this one and then the character to obtain ü, etc.)
ñ = U+00f1
Ñ = U+00d1
ç = U+00e7
Ç = U+00c7