Changes

Digital Joysticks

20 bytes added, 22:06, 5 February 2010
/* Developing programs that use joystick */
There are some 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)
* '''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). ** Note: On french keyboards it'd be A,Q,O,P - anyways, the "UP" key is always Row8.Bit3, no matter if it's locally called "Q" (english QWERTY keyboard), or "A" (french AZERTY keyboard).
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).
6,388
edits