[MPlayer-users] [BUG] MPlayer 1.0-pre1 input binding for KP0

Petr Pajas pajas at ufal.ms.mff.cuni.cz
Tue Sep 2 12:06:19 CEST 2003


Hi all,

there is probably a minor bug regarding input.conf binding of KP0
(keypad zero key). The binding doesn't work although KP1 to KP9 work
perfectly. I get

No bind found for key KP0

when pressing KP0. I guess the problem might be related to KP0
appearing twice in the keylist (but I may be wrong since KP_DEL also
appears tiwce in the list, yet binds ok):

KP0
KP1
...
KP8
KP9
KP_DEL
KP_DEL
KP0
KP_ENTER

I can send more info if needed but I hope the bug is easily
reproducible.

Here is my config:

$ cat ~/.input.conf
##
## MPlayer input control file
##
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
## add new ones.
##
## The file should be placed into $HOME/.mplayer directory.
##

RIGHT seek +10
LEFT seek -10
DOWN seek -60
UP seek +60
PGUP seek 600
PGDWN seek -600
- audio_delay 0.100
+ audio_delay -0.100
q quit
ESC quit
#ENTER pt_step 1 1
ENTER menu up
p pause
SPACE pause
HOME pt_up_step 1
END pt_up_step -1
> pt_step 1
< pt_step -1
INS alt_src_step 1
DEL alt_src_step -1
o osd
z sub_delay -0.1
x sub_delay +0.1
9 volume -1
/ volume -1
0 volume 1
* volume 1
1 contrast -1
2 contrast 1
3 brightness -1
4 brightness 1
5 hue -1
6 hue 1
7 saturation -1
8 saturation 1
d frame_drop
r sub_pos -1
t sub_pos +1
f vo_fullscreen

h tv_step_channel 1
l tv_step_channel -1
n tv_step_norm
b tv_step_chanlist

F1 seek  0 1
KP1 seek 5 1
F2 seek 10 1
KP2 seek 15 1
F3 seek 20 1
KP3 seek 25 1
F4 seek 30 1
KP4 seek 35 1
F5 seek 40 1
KP5 seek 45 1
F6 seek 50 1
KP6 seek 55 1
F7 seek 60 1
KP7 seek 65 1
F8 seek 70 1
KP8 seek 75 1
F9 seek 80 1
KP9 seek 85 1
F10 seek 90 1
KP0 seek 95 1
KP_ENTER seek 99 1

##
## GUI
##

#l gui_loadfile
#t gui_loadsubtitle
#a gui_about
#s gui_stop
#p gui_playlist
#r gui_preferences
#c gui_skinbrowser

##
## 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
JOY_BTN0 pause
JOY_BTN1 osd
JOY_BTN2 volume 1
JOY_BTN3 volume -1


$ mplayer -input keylist

MPlayer 1.0pre1-2.96 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /net/su/h/local2/etc/mplayer/mplayer.conf: není souborem ani adresářem
Reading config file /home/pajas/.mplayer/config

SPACE
ENTER
TAB
CTRL
BS
DEL
INS
HOME
END
PGUP
PGDWN
ESC
RIGHT
LEFT
DOWN
UP
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
KP0
KP1
KP2
KP3
KP4
KP5
KP6
KP7
KP8
KP9
KP_DEL
KP_DEL
KP0
KP_ENTER
MOUSE_BTN0
MOUSE_BTN1
MOUSE_BTN2
MOUSE_BTN3
MOUSE_BTN4
MOUSE_BTN5
MOUSE_BTN6
MOUSE_BTN7
MOUSE_BTN8
MOUSE_BTN9
JOY_UP
JOY_DOWN
JOY_LEFT
JOY_RIGHT
JOY_AXIS0_PLUS
JOY_AXIS0_MINUS
JOY_AXIS1_PLUS
JOY_AXIS1_MINUS
JOY_AXIS2_PLUS
JOY_AXIS2_MINUS
JOY_AXIS3_PLUS
JOY_AXIS3_MINUS
JOY_AXIS4_PLUS
JOY_AXIS4_MINUS
JOY_AXIS5_PLUS
JOY_AXIS5_MINUS
JOY_AXIS6_PLUS
JOY_AXIS6_MINUS
JOY_AXIS7_PLUS
JOY_AXIS7_MINUS
JOY_AXIS8_PLUS
JOY_AXIS8_MINUS
JOY_AXIS9_PLUS
JOY_AXIS9_MINUS
JOY_BTN0
JOY_BTN1
JOY_BTN2
JOY_BTN3
JOY_BTN4
JOY_BTN5
JOY_BTN6
JOY_BTN7
JOY_BTN8
JOY_BTN9
XF86_PAUSE
XF86_STOP
XF86_PREV
XF86_NEXT

-- Petr



More information about the MPlayer-users mailing list