-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa59759
commit 979ae93
Showing
101 changed files
with
5,011 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cmake.sourceDirectory": "/Users/shapelayer/Desktop/Code/configurator/linux" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
macOS Requirements: | ||
# configurator | ||
|
||
``` | ||
brew install libserialport | ||
``` | ||
A new Flutter project. | ||
|
||
## Getting Started | ||
|
||
This project is a starting point for a Flutter application. | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
|
||
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) | ||
|
||
For help getting started with Flutter development, view the | ||
[online documentation](https://docs.flutter.dev/), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import 'package:configurator/models/keycode.dart'; | ||
import 'package:configurator/models/key_config.dart'; | ||
|
||
class BuildConfig { | ||
static const serialBaudRate = 9600; | ||
static const serialBits = 8; | ||
static const serialStopBits = 1; | ||
static const serialParity = null; | ||
|
||
static KeyConfig defaultKeyConfig = KeyConfig( | ||
Keycode.esc, | ||
Keycode.enter, | ||
Keycode.tab, | ||
Keycode.undefined, // Keycode.space, | ||
Keycode.undefined, // Keycode.speedUp, | ||
Keycode.undefined, // Keycode.speedDown, | ||
Keycode.backspace, | ||
Keycode.leftShift, | ||
Keycode.rightShift, | ||
Keycode.upArrow, | ||
Keycode.downArrow, | ||
Keycode.leftArrow, | ||
Keycode.rightArrow, | ||
Keycode.leftShift, | ||
Keycode.undefined, // Keycode.tuneS, | ||
Keycode.undefined, // Keycode.tuneD, | ||
Keycode.undefined, // Keycode.tuneF, | ||
Keycode.undefined, // Keycode.tuneC, | ||
Keycode.undefined, // Keycode.tuneM, | ||
Keycode.undefined, // Keycode.tuneJ, | ||
Keycode.undefined, // Keycode.tuneK, | ||
Keycode.undefined, // Keycode.tuneL, | ||
Keycode.rightShift, | ||
Keycode.undefined, // Keycode.emoticon1, | ||
Keycode.undefined, // Keycode.emoticon2, | ||
Keycode.undefined, // Keycode.emoticon3, | ||
Keycode.undefined, // Keycode.emoticon4, | ||
Keycode.undefined, // Keycode.emoticon5, | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import 'package:configurator/models/keycode.dart'; | ||
|
||
class KeyConfig { | ||
Keycode esc; | ||
Keycode enter; | ||
Keycode tab; // for Difficulty(Lobby) | ||
Keycode space; // for Option(Lobby), Manual Fever(Ingame) | ||
|
||
Keycode speedUp; // digit1 | ||
Keycode speedDown; // digit2 | ||
Keycode rewind; // Backspace | ||
|
||
Keycode | ||
leftShift; // It may be useless (duplicated with tuneLeftSide in default) | ||
Keycode | ||
rightShift; // It may be useless (duplicated with tuneRightSide in default) | ||
|
||
Keycode arrowUp; | ||
Keycode arrowDown; | ||
Keycode arrowLeft; | ||
Keycode arrowRight; | ||
|
||
Keycode tuneLeftSide; | ||
Keycode tuneS; | ||
Keycode tuneD; | ||
Keycode tuneF; | ||
Keycode tuneC; | ||
Keycode tuneM; | ||
Keycode tuneJ; | ||
Keycode tuneK; | ||
Keycode tuneL; | ||
Keycode tuneRightSide; | ||
|
||
Keycode emoticon1; // digit3 | ||
Keycode emoticon2; // digit4 | ||
Keycode emoticon3; // digit5 | ||
Keycode emoticon4; // digit6 | ||
Keycode emoticon5; // digit7 | ||
|
||
KeyConfig( | ||
this.esc, | ||
this.enter, | ||
this.tab, | ||
this.space, | ||
this.speedUp, | ||
this.speedDown, | ||
this.rewind, | ||
this.leftShift, | ||
this.rightShift, | ||
this.arrowUp, | ||
this.arrowDown, | ||
this.arrowLeft, | ||
this.arrowRight, | ||
this.tuneLeftSide, | ||
this.tuneS, | ||
this.tuneD, | ||
this.tuneF, | ||
this.tuneC, | ||
this.tuneM, | ||
this.tuneJ, | ||
this.tuneK, | ||
this.tuneL, | ||
this.tuneRightSide, | ||
this.emoticon1, | ||
this.emoticon2, | ||
this.emoticon3, | ||
this.emoticon4, | ||
this.emoticon5, | ||
); | ||
} |
Oops, something went wrong.