Changes between Initial Version and Version 1 of pcw2hid


Ignore:
Timestamp:
Feb 10, 2023, 5:53:00 PM (16 months ago)
Author:
pulkomandy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcw2hid

    v1 v1  
     1This adapter allows to use the [http://www.seasip.info/Unix/Joyce/pcwkbd.html PCW keyboard] as an USB HID one.
     2
     3It is based on the [http://www.fourwalledcubicle.com/LUFA.php LUFA USB stack] and AT90USB controllers.
     4
     5The code is quite simple, the PCW keyboard is scanned, row by row, whenever an HID report is requested. The scanning must be done with interrupts disabled for each keyboard line, since the timing is a bit tight.
     6
     7The keyboard mapping (in addition to the obvious things) is as follows
     8
     9|| **PCW key** || **USB key**   ||
     10|| PASTE   || Insert    ||
     11|| COPY    || Page down ||
     12|| CUT     || Page up   ||
     13|| PTR     || F2        ||
     14|| EXIT    || F4        ||
     15|| {{{[+]}}} || Keypad + ||
     16|| {{{[-]}}} || Keypad - ||
     17|| 1/2 @     || \ |      ||
     18|| # >       || # ~      ||
     19|| STOP      || Escape   ||
     20
     21The other keys are mapped according to their location and/or label.
     22
     23Notes on this layout:
     24
     25- There is no control key
     26- There are no cursor keys, and there is also no num. lock key. If num lock is off, you may be able to use the keypad as arrow keys, except on PCs the arrows aren't at the same place at all.
     27- The even function keys are not reachable. They could be, if handling shifted keys in a specific way.