Added a type to some enums to save memory.
This commit is contained in:
parent
e2b90c4e24
commit
a54acf8f6f
@ -52,7 +52,7 @@ using System;
|
|||||||
|
|
||||||
namespace ANX.Framework.Input
|
namespace ANX.Framework.Input
|
||||||
{
|
{
|
||||||
public enum ButtonState
|
public enum ButtonState : byte
|
||||||
{
|
{
|
||||||
Released,
|
Released,
|
||||||
Pressed
|
Pressed
|
||||||
|
@ -52,7 +52,7 @@ using System;
|
|||||||
|
|
||||||
namespace ANX.Framework.Input
|
namespace ANX.Framework.Input
|
||||||
{
|
{
|
||||||
public enum GamePadDeadZone
|
public enum GamePadDeadZone : byte
|
||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
IndependentAxes,
|
IndependentAxes,
|
||||||
|
@ -52,7 +52,7 @@ using System;
|
|||||||
|
|
||||||
namespace ANX.Framework.Input
|
namespace ANX.Framework.Input
|
||||||
{
|
{
|
||||||
public enum GamePadType
|
public enum GamePadType :short
|
||||||
{
|
{
|
||||||
Unknown,
|
Unknown,
|
||||||
GamePad,
|
GamePad,
|
||||||
|
@ -52,7 +52,7 @@ using System;
|
|||||||
|
|
||||||
namespace ANX.Framework.Input
|
namespace ANX.Framework.Input
|
||||||
{
|
{
|
||||||
public enum Keys
|
public enum Keys : byte
|
||||||
{
|
{
|
||||||
None = 0,
|
None = 0,
|
||||||
Back = 8,
|
Back = 8,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user