Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Input Handler #72

Merged
merged 29 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5e8bdc2
Test commit for zero
mp768 Jul 13, 2023
d767009
MichaelMode best mode
mp768 Jul 13, 2023
5dc5087
Add Controller Type in Yaml Config
mp768 Aug 3, 2023
dc355aa
Removed Michael Modes and Notes
mp768 Aug 4, 2023
412da79
Removed some extra notes
mp768 Aug 4, 2023
26c085e
Removed Semicolon and Replaced with Comma
mp768 Aug 4, 2023
708483c
Moved controls to an event based system
mp768 Aug 8, 2023
01d77e4
Implemented basic input handler demo.
mp768 Aug 10, 2023
26f4ede
Seperated Input Handler from Control Board folder
mp768 Aug 10, 2023
da1cb6e
Finished Basic Input Handler
mp768 Aug 10, 2023
0bac615
Cleaned Up InputHandler Implementation, Added DPad Support and More.
mp768 Aug 14, 2023
73133b6
Commented code and provided a yaml config file.
mp768 Aug 22, 2023
a80c246
Removed any dependency from control board and action manager.
mp768 Aug 22, 2023
87e17f3
documentation, schema movement
TagCiccone Oct 2, 2023
832ff5f
Added new Trigger Enum and Event, and modified some config files.
mp768 Oct 4, 2023
c2f5a2e
Fixed a really weird issue.
mp768 Oct 5, 2023
f3aad46
Converted IControllerBinding to an abstract class and fixed some
mp768 Oct 5, 2023
dbec62d
IControllerBinding renamed to Controllerbinding due to no longer bein…
TagCiccone Oct 5, 2023
1cdc85a
tweaks
TagCiccone Nov 29, 2023
2a64557
Modified the input handler to allow you to use a string to map to an
mp768 Dec 1, 2023
2d00714
made ControllerMappingInfo package-private
TagCiccone Dec 1, 2023
32ea0a9
Modified the input handler to have get as bool and get as double for
mp768 Dec 1, 2023
df33250
rumble support
TagCiccone Dec 3, 2023
6432c8c
rumble patch
TagCiccone Dec 3, 2023
755e21b
organized inputhandler into packages
TagCiccone Dec 3, 2023
a84f800
small feedbacK
TagCiccone Dec 5, 2023
f5948f3
I remembered I have a variable named "controllers" in the input handler.
mp768 Dec 6, 2023
3baa764
Fixed little mistake I did when rewriting the rumble interface.
mp768 Dec 6, 2023
f1d0d8b
Merge branch 'main' into feature_input_handler
TagCiccone Dec 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions simgui-ds.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"visible": false
}
},
"Keyboard 0 Settings": {
"window": {
"visible": true
}
},
"keyboardJoysticks": [
{
"axisConfig": [
Expand All @@ -23,6 +28,11 @@
"decayRate": 0.4000000059604645,
"incKey": 69,
"keyRate": 0.4000000059604645
},
{},
{
"decKey": 76,
"incKey": 80
}
],
"axisCount": 3,
Expand Down Expand Up @@ -55,7 +65,6 @@
"incKey": 73
},
{
"decKey": 76,
"incKey": 74,
"keyRate": 0.10000000149011612
},
Expand All @@ -76,7 +85,7 @@
55,
-1,
-1,
80,
-1,
72,
-1,
-1,
Expand Down
5 changes: 0 additions & 5 deletions simgui.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@
"visible": true
}
},
"/SmartDashboard/Mech 2D": {
"window": {
"visible": true
}
},
"/SmartDashboard/Robot color": {
"window": {
"visible": true
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/team1816/lib/LibModule.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package com.team1816.lib;

import com.google.inject.AbstractModule;
import com.team1816.lib.controlboard.ControlBoard;
import com.team1816.lib.controlboard.ControlUtils;
import com.team1816.lib.controlboard.Controller;
import com.team1816.lib.controlboard.IControlBoard;
import com.team1816.lib.subsystems.drive.Drive;

/**
Expand All @@ -17,7 +13,5 @@ public class LibModule extends AbstractModule {
@Override
protected void configure() {
bind(Drive.Factory.class).to(DriveFactory.class);
bind(Controller.Factory.class).to(ControlUtils.class);
bind(IControlBoard.class).to(ControlBoard.class);
}
}
25 changes: 0 additions & 25 deletions src/main/java/com/team1816/lib/controlboard/ActionManager.java

This file was deleted.

This file was deleted.

124 changes: 0 additions & 124 deletions src/main/java/com/team1816/lib/controlboard/ControlBoard.java

This file was deleted.

Loading
Loading