using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi.CrossPlatformInput
{
	// Token: 0x020004F3 RID: 1267
	[Token(Token = "0x20004F3")]
	public class ButtonHandler : MonoBehaviour
	{
		// Token: 0x06002C51 RID: 11345 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002C51")]
		[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00")]
		private void OnEnable()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002C52 RID: 11346 RVA: 0x0005FFD4 File Offset: 0x0005E1D4
		[Token(Token = "0x6002C52")]
		[Address(RVA = "0x1348970", Offset = "0x1347770", VA = "0x181348970")]
		public void SetDownState()
		{
			CrossPlatformInputManager.SetButtonDown(this.Name);
		}

		// Token: 0x06002C53 RID: 11347 RVA: 0x0005FFEC File Offset: 0x0005E1EC
		[Token(Token = "0x6002C53")]
		[Address(RVA = "0x13489D0", Offset = "0x13477D0", VA = "0x1813489D0")]
		public void SetUpState()
		{
			CrossPlatformInputManager.SetButtonUp(this.Name);
		}

		// Token: 0x06002C54 RID: 11348 RVA: 0x00060004 File Offset: 0x0005E204
		[Token(Token = "0x6002C54")]
		[Address(RVA = "0x1348910", Offset = "0x1347710", VA = "0x181348910")]
		public void SetAxisPositiveState()
		{
			CrossPlatformInputManager.SetAxisPositive(this.Name);
		}

		// Token: 0x06002C55 RID: 11349 RVA: 0x0006001C File Offset: 0x0005E21C
		[Token(Token = "0x6002C55")]
		[Address(RVA = "0x13488B0", Offset = "0x13476B0", VA = "0x1813488B0")]
		public void SetAxisNeutralState()
		{
			CrossPlatformInputManager.SetAxisZero(this.Name);
		}

		// Token: 0x06002C56 RID: 11350 RVA: 0x00060034 File Offset: 0x0005E234
		[Token(Token = "0x6002C56")]
		[Address(RVA = "0x1348850", Offset = "0x1347650", VA = "0x181348850")]
		public void SetAxisNegativeState()
		{
			CrossPlatformInputManager.SetAxisNegative(this.Name);
		}

		// Token: 0x06002C57 RID: 11351 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002C57")]
		[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00")]
		public void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002C58 RID: 11352 RVA: 0x0006004C File Offset: 0x0005E24C
		[Token(Token = "0x6002C58")]
		[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
		public ButtonHandler()
		{
		}

		// Token: 0x040034B9 RID: 13497
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40034B9")]
		public string Name;
	}
}
