Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
5f8c0412
Commit
5f8c0412
authored
Oct 19, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Maemo: use left button by default for gestures (not tested)
There is only one button on a touch screen.
parent
1ce334be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/control/gestures.c
modules/control/gestures.c
+7
-1
No files found.
modules/control/gestures.c
View file @
5f8c0412
...
...
@@ -86,6 +86,12 @@ static void RunIntf ( intf_thread_t *p_intf );
#define BUTTON_LONGTEXT N_( \
"Trigger button for mouse gestures." )
#if defined (HAVE_MAEMO)
# define BUTTON_DEFAULT "left"
#else
# define BUTTON_DEFAULT "right"
#endif
static
const
char
*
const
button_list
[]
=
{
"left"
,
"middle"
,
"right"
};
static
const
char
*
const
button_list_text
[]
=
{
N_
(
"Left"
),
N_
(
"Middle"
),
N_
(
"Right"
)
};
...
...
@@ -96,7 +102,7 @@ vlc_module_begin ()
set_subcategory
(
SUBCAT_INTERFACE_CONTROL
)
add_integer
(
"gestures-threshold"
,
30
,
NULL
,
THRESHOLD_TEXT
,
THRESHOLD_LONGTEXT
,
true
)
add_string
(
"gestures-button"
,
"right"
,
NULL
,
add_string
(
"gestures-button"
,
BUTTON_DEFAULT
,
NULL
,
BUTTON_TEXT
,
BUTTON_LONGTEXT
,
false
)
change_string_list
(
button_list
,
button_list_text
,
0
)
set_description
(
N_
(
"Mouse gestures control interface"
)
)
...
...
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