reckfellENGINE

JoyButton

C# enumeration.

On this page
enum JoyButtonReckfellSharpInherits Enum

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Fields and constants29

AField
# A
C#
A = 0

Game controller SDL button A. Corresponds to the bottom action button: Sony Cross, Xbox A, Nintendo B.

BField
# B
C#
B = 1

Game controller SDL button B. Corresponds to the right action button: Sony Circle, Xbox B, Nintendo A.

BackField
# Back
C#
Back = 4

Game controller SDL back button. Corresponds to the Sony Select, Xbox Back, Nintendo - button.

DpadDownField
# DpadDown
C#
DpadDown = 12

Game controller D-pad down button.

DpadLeftField
# DpadLeft
C#
DpadLeft = 13

Game controller D-pad left button.

DpadRightField
# DpadRight
C#
DpadRight = 14

Game controller D-pad right button.

DpadUpField
# DpadUp
C#
DpadUp = 11

Game controller D-pad up button.

GuideField
# Guide
C#
Guide = 5

Game controller SDL guide button. Corresponds to the Sony PS, Xbox Home button.

InvalidField
# Invalid
C#
Invalid = -1

An invalid game controller button.

LeftShoulderField
# LeftShoulder
C#
LeftShoulder = 9

Game controller SDL left shoulder button. Corresponds to the Sony L1, Xbox LB button.

LeftStickField
# LeftStick
C#
LeftStick = 7

Game controller SDL left stick button. Corresponds to the Sony L3, Xbox L/LS button.

MaxField
# Max
C#
Max = 128

The maximum number of game controller buttons supported by the engine. The actual limit may be lower on specific platforms:

  • Android: Up to 36 buttons.
  • Linux: Up to 80 buttons.
  • Windows and macOS: Up to 128 buttons.
Misc1Field
# Misc1
C#
Misc1 = 15

Game controller SDL miscellaneous button. Corresponds to Xbox share button, PS5 microphone button, Nintendo Switch capture button.

Misc2Field
# Misc2
C#
Misc2 = 21

Game controller SDL miscellaneous button. Used by Nintendo Switch 2 Pro Controller and Horipad Steam controllers.

Misc3Field
# Misc3
C#
Misc3 = 22

Game controller SDL miscellaneous button.

Misc4Field
# Misc4
C#
Misc4 = 23

Game controller SDL miscellaneous button.

Misc5Field
# Misc5
C#
Misc5 = 24

Game controller SDL miscellaneous button.

Misc6Field
# Misc6
C#
Misc6 = 25

Game controller SDL miscellaneous button.

Paddle1Field
# Paddle1
C#
Paddle1 = 16

Game controller SDL paddle 1 button.

Paddle2Field
# Paddle2
C#
Paddle2 = 17

Game controller SDL paddle 2 button.

Paddle3Field
# Paddle3
C#
Paddle3 = 18

Game controller SDL paddle 3 button.

Paddle4Field
# Paddle4
C#
Paddle4 = 19

Game controller SDL paddle 4 button.

RightShoulderField
# RightShoulder
C#
RightShoulder = 10

Game controller SDL right shoulder button. Corresponds to the Sony R1, Xbox RB button.

RightStickField
# RightStick
C#
RightStick = 8

Game controller SDL right stick button. Corresponds to the Sony R3, Xbox R/RS button.

SdlMaxField
# SdlMax
C#
SdlMax = 26

The number of SDL game controller buttons.

StartField
# Start
C#
Start = 6

Game controller SDL start button. Corresponds to the Sony Options, Xbox Menu, Nintendo + button.

TouchpadField
# Touchpad
C#
Touchpad = 20

Game controller SDL touchpad button.

XField
# X
C#
X = 2

Game controller SDL button X. Corresponds to the left action button: Sony Square, Xbox X, Nintendo Y.

YField
# Y
C#
Y = 3

Game controller SDL button Y. Corresponds to the top action button: Sony Triangle, Xbox Y, Nintendo X.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.