Read Back User Defined Keys Used in Keyboard Joysticks
The user defined keys are currently write only so that the operating system is unable to save key definitions in snapshots or to restore a default definition on soft reset.
The definitions are stored in LUT ram with one read port already used for key scanning and the write port used for writing key definitions. Another look needs to be taken to see if it will be possible to read the data without costing a great deal in extra logic or LUT ram.
Possible solutions:
- Can LUT ram be configured as one read port and one read/write port?
- Can a second LUT ram mirror the writes and allow the cpu to read from it?
- Can a cpu read cycle be inserted among the key scanning reads without affecting the key scan?