Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
3f7bceb1
Commit
3f7bceb1
authored
Sep 22, 2019
by
Florian Oetke
Browse files
fixed once-actions in input system
parent
57bcafb5
Pipeline
#3446
passed with stage
in 15 minutes and 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/mirrage/input/src/input_mapping.cpp
View file @
3f7bceb1
...
@@ -111,7 +111,7 @@ namespace mirrage::input {
...
@@ -111,7 +111,7 @@ namespace mirrage::input {
bus
.
send
<
Range_action
>
(
action
.
action
,
src
,
glm
::
vec2
{
intensity
,
0
},
glm
::
vec2
{
0
,
0
});
bus
.
send
<
Range_action
>
(
action
.
action
,
src
,
glm
::
vec2
{
intensity
,
0
},
glm
::
vec2
{
0
,
0
});
break
;
break
;
case
Reaction_type
::
once
:
case
Reaction_type
::
once
:
break
;
case
Reaction_type
::
once_down
:
bus
.
send
<
Once_action
>
(
action
.
action
,
src
);
break
;
case
Reaction_type
::
once_down
:
bus
.
send
<
Once_action
>
(
action
.
action
,
src
);
break
;
default:
break
;
default:
break
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment