Taskit ARM9 CPU-module with Linux Stamp9261-series Stamp9261 (64F/64R) 542310 Data Sheet

Product codes
542310
Page of 65
Linux Guide
taskit GmbH
Members
address – EEPROM address for read/write operation
data – received data or data to store
11.5.6. Defines / Constants
These constants define the maximum size of the arrays used by the io-controll functions.
They can be modified in the portuxinput.h but then you have to recompile the modules.
Constants for the matrix keyboard
PORTUXMATRIX_MAX_X 8: the maximum of 8 rows can be used
PORTUXMATRIX_MAX_Y 8: the maximum of 8 columns can be used
PORTUXMATRIX_MAX_LAYER 2: 2 different keymaps can be created
Constants for the IR-remote controller
PORTUXIR_MAX_LAYER 2: 2 different keymaps can be created
PORTUXIR_MAX_COMMANDCODES 256: 256 different IR-scancodes can be used
Constants for the PS/2 and matrix keyboard keyarray function
PORTUX_MAX_KEYARRAYS 10: 10 keyarrays can be created
PORTUX_MAX_KEYARRAYELEMENTS 16: every keyarray can have 16 keys 
(characters)
Flags for portuxinputevent
PORTUXINPUT_MASK_SETKEYMAP: Switches to the layer stored in value.
PORTUXINPUT_MASK_SETKEYMAPRET: Switches to the layer stored in value only for 
the next key press. After that it returns to the last used layer.
PORTUXINPUT_MASK_KEYARRAY: Simulates keys like on mobile phones where one 
key cycles through a number of keys. Value determines which array is used.
PORTUXINPUT_MASK_REPEAT: Normally, one key press generates more than one 
event. All events after the first are repeated ones. This flag determines, if they will be 
processed. In most cases you do not want this behaviour, so you will not set this flag. (An 
possible exception is mouse movement.)
PORTUXINPUT_MASK_MOUSEMOVE: If this flag is set, value is not treated as a key but 
Page 48 of 65
Version 1.26
 (2008-04-30)