Changes

Jump to: navigation, search

Programming:Keyboard redefinition

109 bytes added, 08:24, 15 January 2014
/* Key redefinition library */
This is a little library to allow you to scan keyboard, test keys and redefine them.Functions are explained in source code.
Keycodes returned by GetPressed and used for IsPressed /GetMask are the same than firmware keycodes (you know the one you have on disc plate on CPC 664/6128)
For performance , it is possible to compute directly offset and mask in keyboard buffer with GetMask function.This is usefull for game as IsPressed function can be considered as slow.
 
As SHIFT or CONTROL status can be a control , you can inhibate them using IgnoreSHITFCTRL.
<pre>
115
edits