|
Nebula
|
#include <input.h>
The layout the managed input mirror is built from.
The eight byte fields come first and then the four byte ones, which is the order C# declares as well. In this order the entry is 136 bytes on both sides: 132 of fields and 4 bytes of padding at the end, because the eight byte fields put the entry on an eight byte boundary. The field order is what makes the two sides agree.
Public Attributes | |
| KeyWords | keys [3] |
| uint32_t | mouseHeld |
| uint32_t | mouseDown |
| uint32_t | mouseUp |
| uint32_t | mouseDoubleClicked |
| int32_t | wheel |
| uint32_t | hasFocus |
| uint32_t | mouseCaptured |
| uint32_t | keyCaptured |
| uint32_t | mods |
| float | pixelX |
| float | pixelY |
| float | screenX |
| float | screenY |
| float | moveX |
| float | moveY |
| uint32_t Scripting::Api::InputSnapshot::hasFocus |
| uint32_t Scripting::Api::InputSnapshot::keyCaptured |
| KeyWords Scripting::Api::InputSnapshot::keys[3] |
| uint32_t Scripting::Api::InputSnapshot::mods |
| uint32_t Scripting::Api::InputSnapshot::mouseCaptured |
| uint32_t Scripting::Api::InputSnapshot::mouseDoubleClicked |
| uint32_t Scripting::Api::InputSnapshot::mouseDown |
| uint32_t Scripting::Api::InputSnapshot::mouseHeld |
| uint32_t Scripting::Api::InputSnapshot::mouseUp |
| float Scripting::Api::InputSnapshot::moveX |
| float Scripting::Api::InputSnapshot::moveY |
| float Scripting::Api::InputSnapshot::pixelX |
| float Scripting::Api::InputSnapshot::pixelY |
| float Scripting::Api::InputSnapshot::screenX |
| float Scripting::Api::InputSnapshot::screenY |
| int32_t Scripting::Api::InputSnapshot::wheel |