[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
Page 1 of 1

Windows - joystick control

PostPosted: Sat Oct 17, 2015 4:04 pm
by 3dh

Can I use a joypad in SMPlayer?

Thanks for the help.

Re: Windows - joystick control

PostPosted: Sat Oct 17, 2015 10:50 pm
by rvm
If the joystick simulates keystrokes, then maybe.

Re: Windows - joystick control

PostPosted: Mon Oct 19, 2015 11:18 am
by 3dh
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?

Re: Windows - joystick control

PostPosted: Mon Oct 19, 2015 9:14 pm
by rvm
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.

Re: Windows - joystick control

PostPosted: Mon Oct 19, 2015 9:53 pm
by 3dh
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

Re: Windows - joystick control

PostPosted: Mon Oct 19, 2015 11:18 pm
by rvm

Re: Windows - joystick control

PostPosted: Tue Oct 20, 2015 5:01 am
by redxii
Joystick support is only available in Linux & FreeBSD (as far as MPV is concerned their docs state it is entirely removed).

Re: Windows - joystick control

PostPosted: Tue Oct 20, 2015 8:23 am
by 3dh
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.

Re: Windows - joystick control

PostPosted: Tue Oct 20, 2015 10:58 pm
by rvm
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).

Re: Windows - joystick control

PostPosted: Wed Oct 21, 2015 6:17 am
by 3dh
Yes, I checked. I set there a couple of shortcuts on the keyboard, but the gamepad does not react.