Thanks for your help. I was not sure if I was going to have to modify the code or if there was settings that could be inserted into local_conf.py.
The only left now is whether someone knows how to configure the keymap with ASCII codes. For example, instead of K_c for display, I would need 0x06 which is the equivalent of ctrl+f. If anyone is familiar with this then please let me know. Otherwise I will post how to do this when I figure out how, so anyone else that has a remote like mine can do the same. Mauricio -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aleksey Sudakov Sent: Monday, August 16, 2004 6:26 AM To: [EMAIL PROTECTED] Subject: RE: [Freevo-devel] Re: Key Maps Here is what I had to add to my local_conf.py to make xbox remote working (I have 2 mapped to PAUSE and 0 mapped to EXIT for xbox driver do not generate ASCII codes for VCR controls yet)... from pygame.locals import * DVD_REMOTE_KEYMAP = { K_c : 'DISPLAY', K_p : 'PLAY', K_z : 'REW', K_d : 'STOP', K_q : 'FFWD', K_x : 'SUBTITLE', K_i : 'ENTER', K_UP : 'UP', K_LEFT : 'LEFT', K_RETURN : 'SELECT', K_RIGHT : 'RIGHT', K_DOWN : 'DOWN', K_m : 'MENU', K_ESCAPE : 'EXIT', K_1 : 'STOP', K_2 : 'PAUSE', K_3 : '3', K_4 : '4', K_5 : '5', K_6 : '6', K_7 : '7', K_8 : '8', K_9 : '9', K_0 : 'EXIT' } KEYMAP=DVD_REMOTE_KEYMAP This KEYMAP would control freevo and mplayer, however if you are using xine, you would need to remap keys that control xine in configuration file in ~/.xine/ directory Hope this would help, Aleksey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mauricio Sartorio Gomes Sent: Sunday, August 15, 2004 4:58 PM To: [EMAIL PROTECTED] Subject: [Freevo-devel] Re: Key Maps Mick writes: > Hmm, i remember a mail from some guy with relation to this about 6 months > ago.. it was solved.. Try searchign the lists.. as I have no idea how.. > > Mick > I had seen this previously on freevo-users on the thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg01908.html . The resolution, if any, however was not posted by the user. I would just like the to know the best way to go about this since I have never worked with Python. If anyone has done this in the past or is familiar with the Freevo codebase and can tell me what files to edit, I would greatly appreciate it. Mauricio > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
