Nebula
Loading...
Searching...
No Matches
Scripting::Api::InputSnapshot Struct Reference

#include <input.h>

Detailed Description

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

Member Data Documentation

◆ hasFocus

uint32_t Scripting::Api::InputSnapshot::hasFocus

◆ keyCaptured

uint32_t Scripting::Api::InputSnapshot::keyCaptured

◆ keys

KeyWords Scripting::Api::InputSnapshot::keys[3]

◆ mods

uint32_t Scripting::Api::InputSnapshot::mods

◆ mouseCaptured

uint32_t Scripting::Api::InputSnapshot::mouseCaptured

◆ mouseDoubleClicked

uint32_t Scripting::Api::InputSnapshot::mouseDoubleClicked

◆ mouseDown

uint32_t Scripting::Api::InputSnapshot::mouseDown

◆ mouseHeld

uint32_t Scripting::Api::InputSnapshot::mouseHeld

◆ mouseUp

uint32_t Scripting::Api::InputSnapshot::mouseUp

◆ moveX

float Scripting::Api::InputSnapshot::moveX

◆ moveY

float Scripting::Api::InputSnapshot::moveY

◆ pixelX

float Scripting::Api::InputSnapshot::pixelX

◆ pixelY

float Scripting::Api::InputSnapshot::pixelY

◆ screenX

float Scripting::Api::InputSnapshot::screenX

◆ screenY

float Scripting::Api::InputSnapshot::screenY

◆ wheel

int32_t Scripting::Api::InputSnapshot::wheel

The documentation for this struct was generated from the following file:
  • /github/workspace/code/addons/nsharp/api/input.h