* action = 0: nothing | * action = 0: nothing | ||||
* action < 0: ButtonRelease | * action < 0: ButtonRelease | ||||
* | * | ||||
* The comment preceeding each section is the current emulation state. | |||||
* The comment preceding each section is the current emulation state. | |||||
* The comments to the right are of the form | * The comments to the right are of the form | ||||
* <button state> (<events>) -> <new emulation state> | * <button state> (<events>) -> <new emulation state> | ||||
* which should be read as | * which should be read as |