Copy of Neverball mapping inadvertantly also moves mouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WiiCan |
New
|
Undecided
|
Unassigned |
Bug Description
When I make a new mapping that is an exact textual copy/paste of the included Neverball mapping and activate, it moves the mouse using the acceleratometer.
When I activate the included Neverball mapping, this does not happen but the mapping DOES work to control the game.
I want to add to the existing Neverball mapping, adding a way to move arrow keys and make selections. As it stands, a mouse is still required at the end of each level.
This is the mapping code:
Plugin.acc.Roll = ABS_X
Plugin.
Plugin.acc.Pitch = -ABS_Y
Plugin.
Activating this by importing the included Neverball mapping does not take over the mouse. The same code pasted into a New mapping takes over the mouse when activated. Here is what I wanted to add:
#added so dpad maps to cursor keys,
#buttons to return and escape:
Wiimote.A = KEY_ENTER
Wiimote.B = KEY_ESC
Wiimote.Up = KEY_UP
Wiimote.Down = KEY_DOWN
Wiimote.Left = KEY_LEFT
Wiimote.Right = KEY_RIGHT
Is there some special or hidden priority given to included mappings? Why would the same code act differently in a New mapping?
Wiican 0.3.4.1, Ubuntu 12.04, Gnome-shell