AtomicNET : AtomicEngine Namespace

JoystickState Class

Documentation for this section has not yet been entered.

Syntax

public class JoystickState : RefCounted

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from RefCounted.

Public Constructors

Documentation for this section has not yet been entered.
Construct with defaults.

Public Fields

nativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Properties

[read-only]
Controller bool . Documentation for this section has not yet been entered.
InstantiationType InstantiationType . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
NativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
NumAxes uint . Documentation for this section has not yet been entered.
[read-only]
NumButtons uint . Documentation for this section has not yet been entered.
[read-only]
NumHats uint . Documentation for this section has not yet been entered.
[read-only]
Rumble bool . Documentation for this section has not yet been entered.
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Methods

AddRef ()
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
AddRefSilent ()
Increment reference count. Do not call any lifetime book keeping (Inherited from RefCounted.)
static
csb_Atomic_JoystickState_GetClassIDStatic () : IntPtr
Documentation for this section has not yet been entered.
DoRumble (float, uint)
Documentation for this section has not yet been entered.
GetAxisPosition (uint) : float
Return axis position.
GetButtonDown (uint) : bool
Check if a button is held down.
GetButtonPress (uint) : bool
Check if a button has been pressed on this frame.
GetHatPosition (uint) : int
Return hat position.
GetInstantiationType () : InstantiationType
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetNumAxes () : uint
Return number of axes.
GetNumButtons () : uint
Return number of buttons.
GetNumHats () : uint
Return number of hats.
GetTypeName () : string
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
Initialize (uint, uint, uint)
Initialize the number of buttons, axes and hats and set them to neutral state.
IsController () : bool
Return whether is a game controller. Game controllers will use standardized axis and button mappings.
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
IsRumble () : bool
Documentation for this section has not yet been entered.
Refs () : int
Return reference count. (Inherited from RefCounted.)
ReleaseRef ()
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
Reset ()
Reset button, axis and hat states to neutral.
SetInstantiationType (InstantiationType)
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
StartRumble () : bool
Haptic aka Rumble support
StopRumble ()
Documentation for this section has not yet been entered.
WeakRefs () : int
Return weak reference count. (Inherited from RefCounted.)

Member Details

JoystickState Constructor

Documentation for this section has not yet been entered.

Syntax

public JoystickState ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

JoystickState Constructor

Construct with defaults.

Syntax

public JoystickState (IntPtr native)

Parameters

native
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Controller Property

Documentation for this section has not yet been entered.

Syntax

public bool Controller { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

csb_Atomic_JoystickState_GetClassIDStatic Method

Documentation for this section has not yet been entered.

Syntax

public static IntPtr csb_Atomic_JoystickState_GetClassIDStatic ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DoRumble Method

Documentation for this section has not yet been entered.

Syntax

public void DoRumble (float strength, uint length)

Parameters

strength
Documentation for this section has not yet been entered.
length
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAxisPosition Method

Return axis position.

Syntax

public float GetAxisPosition (uint index)

Parameters

index
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetButtonDown Method

Check if a button is held down.

Syntax

public bool GetButtonDown (uint index)

Parameters

index
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetButtonPress Method

Check if a button has been pressed on this frame.

Syntax

public bool GetButtonPress (uint index)

Parameters

index
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetHatPosition Method

Return hat position.

Syntax

public int GetHatPosition (uint index)

Parameters

index
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetNumAxes Method

Return number of axes.

Syntax

public uint GetNumAxes ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetNumButtons Method

Return number of buttons.

Syntax

public uint GetNumButtons ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetNumHats Method

Return number of hats.

Syntax

public uint GetNumHats ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Initialize Method

Initialize the number of buttons, axes and hats and set them to neutral state.

Syntax

public void Initialize (uint numButtons, uint numAxes, uint numHats)

Parameters

numButtons
Documentation for this section has not yet been entered.
numAxes
Documentation for this section has not yet been entered.
numHats
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

IsController Method

Return whether is a game controller. Game controllers will use standardized axis and button mappings.

Syntax

public bool IsController ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

IsRumble Method

Documentation for this section has not yet been entered.

Syntax

public bool IsRumble ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NumAxes Property

Documentation for this section has not yet been entered.

Syntax

public uint NumAxes { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NumButtons Property

Documentation for this section has not yet been entered.

Syntax

public uint NumButtons { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NumHats Property

Documentation for this section has not yet been entered.

Syntax

public uint NumHats { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Reset Method

Reset button, axis and hat states to neutral.

Syntax

public void Reset ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Rumble Property

Documentation for this section has not yet been entered.

Syntax

public bool Rumble { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

StartRumble Method

Haptic aka Rumble support

Syntax

public bool StartRumble ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

StopRumble Method

Documentation for this section has not yet been entered.

Syntax

public void StopRumble ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0