Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sinister Zeta Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sinister Zeta
Sinister Zeta Project
Commits
924c674b
Commit
924c674b
authored
4 years ago
by
NikolaBabic
Browse files
Options
Downloads
Patches
Plain Diff
Fixed demo
parent
c6727ad8
No related branches found
No related tags found
2 merge requests
!45
Prototype to Master for Milestone 5
,
!44
Demo
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Main.java
+3
-1
3 additions, 1 deletion
src/Main.java
src/model/Demo.java
+1
-1
1 addition, 1 deletion
src/model/Demo.java
with
4 additions
and
2 deletions
src/Main.java
+
3
−
1
View file @
924c674b
...
...
@@ -16,13 +16,15 @@ public class Main extends Application {
public
static
void
main
(
String
[]
args
)
{
Demo
demo
=
new
Demo
();
Thread
thread
=
new
Thread
(
OSInterface
.
getInstance
());
Thread
demoThread
=
new
Thread
(
new
D
emo
()
);
Thread
demoThread
=
new
Thread
(
d
emo
);
thread
.
start
();
demoThread
.
start
();
launch
(
args
);
OSInterface
.
getInstance
().
stop
();
demo
.
stop
();
}
}
This diff is collapsed.
Click to expand it.
src/model/Demo.java
+
1
−
1
View file @
924c674b
...
...
@@ -11,7 +11,7 @@ public class Demo implements Runnable {
public
void
run
()
{
while
(!
stop
)
{
if
(
OSInterface
.
getInstance
().
wasPressed
(
id
))
{
OSInterface
.
getInstance
().
sendKey
(
0x70
,
false
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment