Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
Z80-KEYBOARD(5) 		Keyboard mapping		 Z80-KEYBOARD(5)

NAME
     description of keyboard mapping used by IN on port 0.

DESCRIPTION
     If  there	is no readable file keyboard_map then there is a one-to-one map-
     ping of characters to key codes. The key code 0 means no character input.

     If there is a readable the file keyboard_map , it must contain a mapping of
     key codes to characters.  Each line of this file is either a  comment  line
     or a mapping line.  A line starting with two hexadecimal digits followed by
     a	Space  is a mapping line else it is considered as a comment line and ig-
     nored.

     The first two hexadecimal digits of a mapping line  indicate  the	keycode.
     This must be unique in the file. Next in column 5 follows a printable char-
     acter  (Ascii code > 32) and a Space or in column 5 and 6 are two hexadeci-
     mal digits or columns 5 and 6 contain both a Space. The last case indicates
     that this key code is unused by the keyboard. In the first  two  cases  the
     character in column 5 respectively the character identified by the hexadec-
     imal number in column 5 and 6 is mapped to the key code.  If colum 7 exists
     it must be a Space and further columns in the line are ignored.

     The  first  two mapping lines must describe unused key codes. The first key
     code is used to denote the case no key was pressed on the key board and the
     second mapping line denote the case an unknown character is to map to a key
     code.

SEE ALSO
     z80-ports(5)

Z80-PORTS Version 2.4		   18 Apr 2018			 Z80-KEYBOARD(5)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=z80-keyboard&sektion=5&manpath=FreeBSD+Ports+15.1.quarterly>

home | help