Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
10273e9d
Unverified
Commit
10273e9d
authored
Apr 29, 2020
by
Rémi Verschelde
Committed by
GitHub
Apr 29, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38034 from punto-/punto-/vibration_info_protected
makes VibrationInfo protected
parents
0bf6a86d
41a7d070
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
input.h
core/input/input.h
+9
-9
No files found.
core/input/input.h
View file @
10273e9d
...
@@ -127,15 +127,6 @@ private:
...
@@ -127,15 +127,6 @@ private:
int
mouse_from_touch_index
;
int
mouse_from_touch_index
;
struct
VibrationInfo
{
float
weak_magnitude
;
float
strong_magnitude
;
float
duration
;
// Duration in seconds
uint64_t
timestamp
;
};
Map
<
int
,
VibrationInfo
>
joy_vibration
;
struct
SpeedTrack
{
struct
SpeedTrack
{
uint64_t
last_tick
;
uint64_t
last_tick
;
...
@@ -232,6 +223,15 @@ private:
...
@@ -232,6 +223,15 @@ private:
EventDispatchFunc
event_dispatch_function
;
EventDispatchFunc
event_dispatch_function
;
protected
:
protected
:
struct
VibrationInfo
{
float
weak_magnitude
;
float
strong_magnitude
;
float
duration
;
// Duration in seconds
uint64_t
timestamp
;
};
Map
<
int
,
VibrationInfo
>
joy_vibration
;
static
void
_bind_methods
();
static
void
_bind_methods
();
public
:
public
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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