[MPlayer-dev-eng] screensaver patch
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Mar 10 18:10:29 CET 2007
Hello,
On Sat, Mar 10, 2007 at 05:43:05PM +0100, Adam Tla??ka wrote:
> Dnia Sat, 10 Mar 2007 17:08:12 +0100
> Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> napisa??(a):
> > On Sat, Mar 10, 2007 at 04:52:27PM +0100, Adam Tla??ka wrote:
> > > XWarpPointer will work always but it is some kind of a hack.
> > > Using Xtst and fake keypress will be a good hack too but need this
> > > particular extension of Xserver. Anyway with some unused keycodes it
> > > could be worth using.
> >
> > And tomorrow some laptop manufacturer gets out a new keyboard model
> > and suddenly your "unused" key code is that of e.g. the mute button...
>
> ;). Because this is a hack I meant some keycode in range 0 to 8
> which is not used/reserved so normal Xserver keymap is from
> code 9 (XK_Escape) to code 117(XK_Menu) and all additional keycodes
> will be > 117. Anyway it seems to be no problem because we
> could read the actual Xserver keymap, use an unbound keycode and
> generate its press and release event. There is no keysym bound to
> this keycode so it should not harm currently working app.
Well, my volume control keycodes were unbound for several years until I
got my ass up and bound them. And actually I somewhat regret it because
now in my special setup they don't work anymore when some app grabs the
keyboard (assuming it wasn't just my good old too-stupid-to-test, don't
have time to play games so I don't notice or mind anymore ;-).
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list