- changed tabs to spaces
- formatted all files in accordance to the new spec
This commit is contained in:
parent
5290a152da
commit
d539425b7b
10 changed files with 2827 additions and 2827 deletions
|
@ -5,7 +5,8 @@
|
||||||
root = true
|
root = true
|
||||||
# All files
|
# All files
|
||||||
[*]
|
[*]
|
||||||
indent_style = tab
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
# Code files
|
# Code files
|
||||||
[*.{cs,csx,vb,vbx}]
|
[*.{cs,csx,vb,vbx}]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
|
@ -28,8 +28,7 @@ namespace BetterJoyForCemu {
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool ContainsText(ListBox a, String manu) {
|
private bool ContainsText(ListBox a, String manu) {
|
||||||
foreach (var v in a.Items)
|
foreach (var v in a.Items) {
|
||||||
{
|
|
||||||
dynamic d = v as dynamic;
|
dynamic d = v as dynamic;
|
||||||
if (d.Text == null)
|
if (d.Text == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace BetterJoyForCemu {
|
||||||
|
|
||||||
menu_joy_buttons.ItemClicked += Menu_joy_buttons_ItemClicked;
|
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);
|
c.Tag = c.Name.Substring(4);
|
||||||
GetPrettyName(c);
|
GetPrettyName(c);
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ namespace BetterJoyForCemu {
|
||||||
curAssignment = c;
|
curAssignment = c;
|
||||||
break;
|
break;
|
||||||
case MouseButtons.Middle:
|
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);
|
GetPrettyName(c);
|
||||||
break;
|
break;
|
||||||
case MouseButtons.Right:
|
case MouseButtons.Right:
|
||||||
|
|
Loading…
Add table
Reference in a new issue