Description
TPSCCustomControl is a control that has key processing functionality. The information about the pressed key is processed by TPSCCustomControl methods. First of all, the key is searched in the current keyboard mapping. If it is found, then the input state, in which this key can be activated, is compared to the current input state of keyboard. If they are equal then the method that corresponds to this key is executed. After that, the keyboard input state is assigned to the value, that is stored in the keyboard mapping for the pressed key. TPSCCustomControl is able to work with different keyboard mappings and allows the users to create their own mappings.