- changed tabs to spaces

- formatted all files in accordance to the new spec
This commit is contained in:
David Khachaturov 2020-05-21 15:27:28 +01:00
parent 5290a152da
commit d539425b7b
10 changed files with 2827 additions and 2827 deletions

View file

@ -5,7 +5,8 @@
root = true
# All files
[*]
indent_style = tab
indent_size = 4
indent_style = space
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4

View file

@ -28,8 +28,7 @@ namespace BetterJoyForCemu {
}
private bool ContainsText(ListBox a, String manu) {
foreach (var v in a.Items)
{
foreach (var v in a.Items) {
dynamic d = v as dynamic;
if (d.Text == null)
continue;

View file

@ -29,7 +29,7 @@ namespace BetterJoyForCemu {
menu_joy_buttons.ItemClicked += Menu_joy_buttons_ItemClicked;
foreach (SplitButton c in new SplitButton[] { btn_capture, btn_home, btn_sl_l, btn_sl_r, btn_sr_l, btn_sr_r, btn_reset_mouse , btn_active_gyro}) {
foreach (SplitButton c in new SplitButton[] { btn_capture, btn_home, btn_sl_l, btn_sl_r, btn_sr_l, btn_sr_r, btn_reset_mouse, btn_active_gyro }) {
c.Tag = c.Name.Substring(4);
GetPrettyName(c);
@ -58,7 +58,7 @@ namespace BetterJoyForCemu {
curAssignment = c;
break;
case MouseButtons.Middle:
Config.SetValue((string) c.Tag, Config.GetDefaultValue((string) c.Tag));
Config.SetValue((string)c.Tag, Config.GetDefaultValue((string)c.Tag));
GetPrettyName(c);
break;
case MouseButtons.Right: