Nebula
Loading...
Searching...
No Matches
input.cc File Reference
#include "foundation/stdneb.h"
#include "input.h"
#include "input/inputserver.h"
#include "input/keyboard.h"
#include "input/mouse.h"
#include "input/key.h"
#include "input/modifier.h"
#include "input/mousebutton.h"
#include "input/actionmap.h"

Namespaces

namespace  Scripting
namespace  Scripting::Api

Functions

int Scripting::Api::InputSync (void *buffer, int bufferSize)
 The state is read as it stands when the call is made, which is why the managed side calls this at the beginning of its frame and not anywhere else.
int Scripting::Api::InputCharInput (char *outBuffer, int outLen)
 The text the keyboard produced during this frame, as utf8 into the buffer C# owns.
int Scripting::Api::ActionSync (void *stateBuffer, int stateSize, void *lastPlayerBuffer, int lastPlayerSize)
 Copy this frame's action state into the buffers C# owns.
int Scripting::Api::ActionResolve (const char *name)
 The id a name refers to, or -1 when the map does not have it.
int Scripting::Api::ActionMaxActions ()
 The size of the mirror on both sides.
int Scripting::Api::ActionMaxPlayers ()
int Scripting::Api::ActionLoad ()
 Read the definitions and then the player's file over them.
int Scripting::Api::ActionSave ()
 Write every action as it is now, to the player's file.