[Gizmod-devel] First Questions
Brought to you by:
flithm
|
From: Sean K. <ske...@gm...> - 2007-08-07 18:26:08
|
I spent the last couple of days getting gizmod to a place where it is=20 useable with my system, which has really helped me understand the=20 basic framework of this tool. I have mostly focused on the python=20 scripts, but I have taken a few ganders at the C++ code and most of=20 it makes some sense, enough that I think I can manage with the file=20 loading items I mentioned earlier. But I do have a few questions that I hope you can answer for me. =46irst up, does whoever writes the ATIX10 scripts actually HAVE an ATI=20 remote? I have to ask, because the scripts in v3.3 are seriously=20 broken for the mouse :( I'm attaching a diff for 499-ATIX10-Default.py, which does a handful=20 of things. 1) it fixes an error with the right and left mouse click (it=20 previously made a call to a GizmoKey that didn't exist, which then=20 threw an exception) 2) calls xine with the appropriate DVD flags when the KEY_DVD is=20 pressed 3) presses "ALT+F4" when KEY_POWER is pressed, since my previous setup=20 used the power button as a generic window closer 4) calls a special Konqueror window when you press KEY_TV (I wouldn't=20 integrate this into the official version if I were you... since most=20 folks won't be doing what I'm doing) 5) calls amarok when KEY_A is pressed on the remote =46eel free to take from that what you want :) Second, the mouse device on the remote, while gizmod is running, is=20 not so good. First, it won't accept up/down and left/right inputs at=20 the same time, thus the mouse only moves up/down OR left/right, no=20 diagonal. Second, it moves in these weird jerky motions. Any ideas=20 as to where I might look to start fixing that behavior? I was=20 thinking it might make most sense to figure out if the mouse=20 behaviors can just pass through entirely and not be interpreted=20 through gizmod? I don't know. Third, there seems to be some sore to throttle code that makes it so a=20 button press is only interpreted once or something, I'm not sure. =20 What I do know is that using the direction arrows is awfully flaky.=20 Like if I'm scrolling through a list of files in Konqueror by=20 pressing and holding KEY_DOWN, it works great at first... then slows=20 down, then comes to a total stop. After I a few seconds of waiting I=20 can do some more but it'll stop again soon thereafter. Same behavior=20 when using the arrow directions in mplayer to move around in the=20 video stream. Is that something in the code or is my remote starting to go wonky? Well, I think that's enough for the moment (I will have some questions=20 about the MythTV stuff, but it'll wait until I do some more=20 investigation). I'm excited to start getting this tuned properly... =20 I think there is some really amazing potential here. =2DSean =2D-=20 Sean Kellogg e: ske...@gm... w: http://blog.probonogeek.org/ So, let go =C2=A0...Jump in =C2=A0 ...Oh well, what you waiting for? =C2=A0 =C2=A0...it's all right =C2=A0 =C2=A0 ...'Cause there's beauty in the breakdown |