Just some info somebody here might need someday
Mouse Input:
Set Mouse Position(Just Oblivious is you used C#):
Code:
Mouse.SetPosition(int x, int y)
And it is related to the application upper-left conner.
Mouse properties:
LeftButton:
Type: ButtonState
Returns the state of the left mouse button.
MiddleButton:
Type: ButtonState
Returns the state of the middle mouse button.
RightButton:
Type: ButtonState
Returns the state of the right mouse button.
ScrollWheelValue:
Type: int
Returns the total accumulated movement of the wheel since the game start.
X:
Type: int
Returns the X position of the mouse.
XButton1:
Type: ButtonState
Returns the state of additional buttons on some mice.
XButton2:
Type: ButtonState
Returns the state of additional buttons on some mice.
Y:
Type: int
Returns the Y position of the mouse.
Just realized that this is pretty worthless....
Mouse Visible:
Code:
IsMouseVisible = true/false;
Gamepad Input:
Gamepad properties:
Buttons:
Type: GamePadButtons
Returns a struct that tells which buttons are currently pressed. Each button is represented by one ButtonState.
DPad:
Type: GamePadDPad
Returns a struct that tells which directions on the DPad are pressed. Struct include (up, down, left, right).
IsConnected:
Type: Boolean
Indicates is the controller is connected.
ThumbSticks:
Type: GamePadThumbSticks
Returns a struct that determines the directions of the thumbsticks. Each thumbstick is a vector2. Min Value -1 and Max Value is +1. 0 is if not moving.
Triggers:
Type: GamePadTriggers
Returns if a Trigger button is pressed. With value from 0 to 1. 1 = Fully Pressed.
this was just worthless or? I just got cramp in my arm. -.-