The PCW keyboard is mapped to the top 16 bytes of block #83 (see memory mapping) - for instance, in bank 0 it occupies locations BFF0h-BFFFh.
An English keyboard is mapped to bits as follows:
bit 7 6 5 4 3 2 1 0
+0000h [GRID] [->] [CHAR] [PARA] [PASTE] [f1/f2] [RELAY] [f3/f4]
+0001h [<-] [^] [EOL] [PAGE] [COPY] [CUT] [PTR] [EXIT]
+0002h [+] 1/2 @ [SHIFT] [FIND] # > [RET'N] ] } [DEL->]
+0003h . / ? ; : # < P [ { - _ = +
+0004h , M K L I O 9 ( 0 )
+0005h [SPACE] N J H Y U 7 & 8 *
+0006h V B F G T R 5 % 6 '
+0007h X C D S W E 3 # 4 $
+0008h Z [LOCK] A [TAB] Q [STOP] 2 " 1 !
+0009h [<-DEL]
+000Ah [ALT] [v] [ENTER] [f7/f8] [-] [CAN] [EXTRA] [f5/f6]
Bit 6 of +000Dh is set when shift lock is on.