== Hardware scancodes ==
Joy1 fire3 and Joy2 fire3 only work on Amstrad CPC, not on Amstrad Plus.
=== English table ===
|'''&49''' || DEL || Joy1 fire3 || Joy1 fire2 ||Joy1 fire1||Joy1 right||Joy1 left||Joy1 down||Joy1 up
|}
Note: Fire3 only work on Amstrad CPC, not on Amstrad Plus.
== Computing key code ==
In addition, it is also nice if the keys could be redefined but that is not necessary.
The standard CPC can handle support 3 joystick buttonsper joystick, but though many CPC joysticks have only have 1 button.
The CPC+ and GX4000 can handle only support 2 buttons per joystick buttons only, but and the included Amstrad joypads provided with the machine have 2 different buttons.
There are some common keyboard configurations used:
* '''Q,A,O,P,SPACE''' - (Q up, A down, O left, P right, SPACE fire) This is a good solution, and it's a sort of standard (used by many games). It is best for english QWERTY keyboards, on french AZERTY it'd be A-Q-O-P (but because the decoding of the keys is done in software, normally by the OS, the bits in the keyboard matrix are actually the same).
The standard CPC has only 1 physical digital joystick port(and no analog joystick port). But it was possible to daisy chain the official Amstrad joysticks. And a common accessory, the joystick port doubler, offered 2 digital joystick ports. It was also possible to daisy chain the official Amstrad joysticks The CPC+ and GX4000 have 2 digital joystick ports built-in (and 1 analog joystick port).
The CPC+ and GX4000 have 2 joystick ports built-in.== See Also ==
See the relevant cpcwiki page: * [[Digital Joysticks]]* [[Keyboard Versions]]
[[Category:Programming]][[Category:CPC Internal Components]]