You don't need to recompile if you don't want to; just change the file
you want, and delete the pyc/pyo files (just to be sure, it shouldn't
be necessary) and run Freevo again. It will recompile the files then.
You can do it within the site-packages/freevo directory (assuming
you've got 1.4rc1 or newer)
Aubin
On Wed, Oct 22, 2003 at 04:46:59PM +0100, Dan Field wrote:
> Hi,
>
> I've found the relivent section of code in src/event.py
>
> However, the binary (debian) packages that I have on my XBox also contain bytecode
> compiled pyc and pyo files IIRC. How do I go about compiling the src tarball
> distribution from sourceforge ? I've not touched Python before so I'f I've made any
> stupid assumptions, feel free to jump on them and point and laugh a bit :)
>
> PS the reason I need to remap is because the usb-xboxir module is a keyboard driver
> for the XBox remote control and only some of the keys match properly (cursor and
> select button)
>
> Cheers
>
> relevent code sample contained bellow:
>
> DEFAULT_KEYMAP = {
> K_F1 : 'SLEEP',
> K_HOME : 'MENU',
> K_g : 'GUIDE',
> K_ESCAPE : 'EXIT',
> K_UP : 'UP',
> K_DOWN : 'DOWN',
> K_LEFT : 'LEFT',
> K_RIGHT : 'RIGHT',
> K_SPACE : 'SELECT',
> K_RETURN : 'SELECT',
> K_F2 : 'POWER',
> K_F3 : 'MUTE',
> K_KP_MINUS : 'VOL-',
> K_n : 'VOL-',
> K_KP_PLUS : 'VOL+',
> K_m : 'VOL+',
> K_c : 'CH+',
> K_v : 'CH-',
> K_1 : '1',
> K_2 : '2',
> K_3 : '3',
> K_4 : '4',
> K_5 : '5',
> K_6 : '6',
> K_7 : '7',
> K_8 : '8',
> K_9 : '9',
> K_0 : '0',
> K_d : 'DISPLAY',
> K_e : 'ENTER',
> K_UNDERSCORE : 'PREV_CH',
> K_o : 'PIP_ONOFF',
> K_w : 'PIP_SWAP',
> K_i : 'PIP_MOVE',
> K_F4 : 'TV_VCR',
> K_r : 'REW',
> K_p : 'PLAY',
> K_f : 'FFWD',
> K_u : 'PAUSE',
> K_s : 'STOP',
> K_F6 : 'REC',
> K_PERIOD : 'EJECT',
> K_l : 'SUBTITLE'
> }
>
> --
> Dan Field <[EMAIL PROTECTED]>
>
> http://www.nuclear-dawn.com/ - Drunk on the Lawn in a Nuclear Dawn
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users