Hello, I switched from freevo2 to freevo1.8rc1. So I had to make my wiimote patch work with freevo 1.x. If someone is interested in using it, I attach the patch against the current 1.8 cvs to this email.
The following options are added to freevo_config.py:
# Use the wiimote as an input plugin:
# ===================================
# The Bluetooth device address of the wiimote. Use "hcitool scan"
# to find out.
# Default: 00:00:00:00:00:00
WII_ADDRESS = "00:00:00:00:00:00"
# wiimote button mappings
WII_CMDS = {
'UP' : 'UP',
'DOWN' : 'DOWN',
'B' : 'SELECT',
'A' : 'EXIT',
'LEFT' : 'LEFT',
'RIGHT' : 'RIGHT',
'PLUS' : 'VOL+',
'MINUS' : 'VOL-',
'1' : 'DISPLAY',
'2' : 'MENU',
'HOME' : 'PLAY'
}
# This option activates the acceleration mode. It ist possible to
# raise LEFT, RIGHT, UP and DOWN events just by turning the
# wiimote in the right direction.
WII_ACC_ACTIVATE = True
# This button enables the acceleration mode. If the button is pressed
# and hold longer than acc_button_time than the mode is enabled.
# Otherwise the button has the normal action.
WII_ACC_BUTTON = "A"
# This is the time in seconds after that the acceleration mode after
# pressing the acc_button will be enabled.
WII_ACC_BUTTON_TIME = 0.3
# This is the time in seconds after that the RIGHT and LEFT event
# is fired again.
WII_ACC_RL_REPEAT = 0.4
# This is the time in seconds after that the UP and DOWN event
# is fired again.
WII_ACC_UD_REPEAT = 0.2
So these options can be overwritten in the local_conf.py file. I'm using
debian and needed the following deb-packages:
- libbluetooth2
- python-bluez
bye
Sebastian
wiimote-freevo1x.patch
Description: Binary data
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
