* [[Digital Joystick Related]]
== Using the Keyboard as Joystick Replacement Developing programs that use joystick ==
Most games (should) also support In the CPC world it is more common that a game supports both keyboard controls and digital joystick for those users who don't own joysticks. Most commonly used In addition, it is also nice if the keys could be redefined but that is not necessary. There aresome common keyboard configurations used: * '''Cursor keys & SPACE''' - This configuration is often used and is great for the CPC6128 and Plus and playing using emulators. This is '''not''' good for CPC 464 and 664 (which have uncomfortably arranged cursor keys) (only the 6128 and CPC+ do have modern cursor keys; as do emulators with PC keyboards) * '''Q,A,O,P,SPACE''' - (Q up, A down, O left, P right, SPACE fire) This is a good solution, and it's sorts a sort of standard (used by many games)Best would be to implement both of the above solutions. Q-A-O-P It is of course best for english QWERTY keyboards, on french AZERTY it'd be A-Q-O-P (either waybut because the decoding of the keys is done in software, normally by the OS, the bits in the keyboard matrix are actually the same).
== Other game controller inputs ==