-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSetting.cs
38 lines (32 loc) · 1.02 KB
/
Setting.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightGun
{
public class ButtonSelection
{
public int SelectedIndex { get; set; }
}
public class PlayerSettings
{
public int Threshold { get; set; } = 200;
public int Xoffset { get; set; } = 0;
public int Yoffset { get; set; } = 0;
public int Brightness { get; set; } = 64;
public int Contrast { get; set; } = 0;
public int Gamma { get; set; } = 300;
public int Exposure { get; set; } = -8;
public ButtonSelection[] NormalButton { get; set; }
public ButtonSelection[] OffscreenButton { get; set; }
}
public class Settings
{
public PlayerSettings[] Players { get; set; } = new PlayerSettings[2];
public float Border { get; set; }
public bool IsRawCheck { get; set; }
public bool IsProcessCheck { get; set; }
public bool Is43BorderCheck { get; set; }
}
}