[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Windows - joystick control

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Windows - joystick control

Problems, bugs, suggestions... anything related to SMPlayer.

Windows - joystick control

Postby 3dh » Sat Oct 17, 2015 4:04 pm


Can I use a joypad in SMPlayer?

Thanks for the help.
3dh
 
Posts: 25
Joined: Thu Mar 05, 2015 7:06 am

Re: Windows - joystick control

Postby rvm » Sat Oct 17, 2015 10:50 pm

If the joystick simulates keystrokes, then maybe.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Windows - joystick control

Postby 3dh » Mon Oct 19, 2015 11:18 am

Now I use the "logitech profiler", but this is not the best solution. Sometimes when you turn on/off the fullscreen option, gamepad stops working. It's not the fault of the controller, because I have no problems with it in other cases.

I found a file in mplayer which says something about the use gamepad.
...\SMPlayer\mplayer\mplayer\input.conf

## Joystick section
## WARNING: joystick support has to be explicitly enabled at
## compiletime with --enable-joystick
##

JOY_RIGHT seek 10
JOY_LEFT seek -10
JOY_UP seek 60
JOY_DOWN seek -60
...


Why it does not work?

There is a chance that in the future will be full support for gamepad?
3dh
 
Posts: 25
Joined: Thu Mar 05, 2015 7:06 am

Re: Windows - joystick control

Postby rvm » Mon Oct 19, 2015 9:14 pm

It seems mplayer has its own support for joystick. It you enable the option to run mplayer in its own windows (preferences -> advanced) maybe you can use. However I have no idea if that would work since I don't have any joystick to test.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Windows - joystick control

Postby 3dh » Mon Oct 19, 2015 9:53 pm

preferences -> advanced -> mplayer/mpv -> options:--enable-joystick

Unknown option on the command line: --enable-joystick
Error parsing option on the command line: --enable-joystick
MPlayer Redxii-SVN-r37448-4.9.3 (i686) (C) 2000-2015 MPlayer Team
FFmpeg version: N-74447-g767d780
3dh
 
Posts: 25
Joined: Thu Mar 05, 2015 7:06 am

Re: Windows - joystick control

Postby rvm » Mon Oct 19, 2015 11:18 pm

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Windows - joystick control

Postby redxii » Tue Oct 20, 2015 5:01 am

Joystick support is only available in Linux & FreeBSD (as far as MPV is concerned their docs state it is entirely removed).
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: Windows - joystick control

Postby 3dh » Tue Oct 20, 2015 8:23 am

Gamepad used as a remote control for PC is a useful thing. Maybe in the new version of SMPlayer you add support for gamepad.

Thanks.
3dh
 
Posts: 25
Joined: Thu Mar 05, 2015 7:06 am

Re: Windows - joystick control

Postby rvm » Tue Oct 20, 2015 10:58 pm

Have you checked if SMPlayer can detect the keystrokes of the gamepad?
Go to preferences -> keyboard and edit any action, press some keys in the gamepad and see if SMPlayer detects them (be sure the "capture" option is on).
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Windows - joystick control

Postby 3dh » Wed Oct 21, 2015 6:17 am

Yes, I checked. I set there a couple of shortcuts on the keyboard, but the gamepad does not react.
3dh
 
Posts: 25
Joined: Thu Mar 05, 2015 7:06 am


Return to General

Who is online

Users browsing this forum: Google [Bot] and 47 guests