Pirate Galaxy has defined keys for all ship's devices. I've found that is hard to for me to use Scrambler or Aggrobomb when i fight because i always keep my left hand thumb on the Blaster (key 1) and use the right hand to control my ship by mouse. And when i switch to Storm ship i always use the Rockets instead of a Repair Droid. Pirate Galaxy don't have option to set your own keys for devices. But u can use tool like: MapKeyboard (http://www.inchwest.com/mapkeyboard.htm) to remap your keyboard.
These keys:

i've changed to:

changes made: 5<->q, 6<->s, 7<->e and 8->`so when u push now 'q' u will use Shield, if u want to write 'q' in PG chat u have to push '5' and etc
.
Application screenshot:

When u choose your favorite keys u have to use Save layout option.
If you want to return standart keyboard layout - use Reset keyboard layout option.
If your system password has letters eg.: 'q', 's', and 'e' remember to switch these keys to proper numbers, if u don't do that u will not login to your Windows account
These keys:

i've changed to:

changes made: 5<->q, 6<->s, 7<->e and 8->`so when u push now 'q' u will use Shield, if u want to write 'q' in PG chat u have to push '5' and etc
Application screenshot:

When u choose your favorite keys u have to use Save layout option.
If you want to return standart keyboard layout - use Reset keyboard layout option.
If your system password has letters eg.: 'q', 's', and 'e' remember to switch these keys to proper numbers, if u don't do that u will not login to your Windows account