Leblond111111 / wjoy

Automatically exported from code.google.com/p/wjoy
0 stars 0 forks source link

Classic controller isues. #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect the wiimote
2. Not every button working
3. Classic controller detected

What is the expected output? What do you see instead? Only the two sticks and 
the ZL button working.

What version of the product are you using? On what operating system?

- Version 0.7.1 on Mac OSX 10.6.8

Please provide any additional information below.

If this is usefull:

Begin discovery...
highlightedLEDMaskChanged: 1
vibrationStateChanged: YES
batteryLevelUpdated: 58%, isLow: NO
Extension connected: Classic Controller
Classic Controller button pressed: B
Classic Controller button pressed: minus
Classic Controller button pressed: home
Classic Controller button pressed: plus
Classic Controller button pressed: X
Classic Controller button pressed: Y
Classic Controller button pressed: Up
Classic Controller button pressed: Down
Classic Controller button pressed: Left
Classic Controller button pressed: Right
Classic Controller button pressed: R
Classic Controller button pressed: ZL
Classic Controller button pressed: ZR
Classic Controller stick (left) position changed: 0.53 -1.00
Classic Controller stick (right) position changed: 0.56 -1.00
Classic Controller analog shift (left) position changed: 0.43
vibrationStateChanged: NO
Wrapper created
Nintendo RVL-CNT-01
(
    <Wiimote: 0x102e060f0>
)
End discovery
Classic Controller stick (right) position changed: -0.47 -1.00
Classic Controller stick (left) position changed: -0.42 -1.00
Classic Controller stick (right) position changed: -1.00 -1.00
Classic Controller analog shift (left) position changed: 0.17

Original issue reported on code.google.com by guillebi...@gmail.com on 18 Jan 2014 at 10:43

GoogleCodeExporter commented 8 years ago
Hello!

From Test.app output i see, what not only sticks and ZL button worked on 
Classic Controller (B, minus, plus, etc all works).

What application/game you try to use with WJoy?

Original comment by alexandr.serkov on 19 Jan 2014 at 8:12

GoogleCodeExporter commented 8 years ago
In your test app, when I press ZL button the result is this:

Classic Controller button released: B
Classic Controller button released: Y
Classic Controller button pressed: B
Classic Controller button pressed: Y

When I move de left joystick down 

Classic Controller button released: minus
Classic Controller button released: home
Classic Controller button released: plus
Classic Controller button pressed: L
Classic Controller button released: R
Classic Controller button pressed: plus
Classic Controller button pressed: home
Classic Controller button released: plus
Classic Controller button pressed: R
Classic Controller button pressed: minus
Classic Controller button pressed: plus
Classic Controller button released: L

Left joystick up:

Classic Controller button released: plus
Classic Controller button released: R
Classic Controller button released: minus
Classic Controller button pressed: plus
Classic Controller button pressed: R
Classic Controller button released: home
Classic Controller button released: plus
Classic Controller button released: R
Classic Controller button pressed: minus
Classic Controller button pressed: home
Classic Controller button pressed: plus
Classic Controller button pressed: R

Left joystick right

lassic Controller analog shift (right) position changed: 0.30
Classic Controller analog shift (right) position changed: 0.47
Classic Controller analog shift (right) position changed: 0.66
Classic Controller analog shift (right) position changed: 0.88
Classic Controller analog shift (right) position changed: 1.00
Classic Controller analog shift (right) position changed: 0.23
Classic Controller analog shift (right) position changed: 0.00

Left joystick left

Classic Controller analog shift (right) position changed: 0.81
Classic Controller analog shift (right) position changed: 0.43
Classic Controller analog shift (right) position changed: 0.00
Classic Controller analog shift (right) position changed: 0.33
Classic Controller analog shift (right) position changed: 0.75
Classic Controller analog shift (right) position changed: 0.00

Right Joystick up:

Classic Controller button released: X
Classic Controller button released: ZR
Classic Controller button released: Up
Classic Controller button released: Left
Classic Controller button pressed: X
Classic Controller button pressed: Up
Classic Controller button pressed: Left
Classic Controller button pressed: ZR

Right joystick down

Classic Controller button pressed: A
Classic Controller button released: X
Classic Controller button pressed: X
Classic Controller button released: Left
Classic Controller button released: ZR
Classic Controller button pressed: Left
Classic Controller button pressed: ZR
Classic Controller button released: Up
Classic Controller button released: Left
Classic Controller button released: A
Classic Controller button pressed: Up
Classic Controller button pressed: Left

Right joystick right

Classic Controller button released: Down
Classic Controller button released: Right
Classic Controller button released: ZL
Classic Controller button pressed: Down
Classic Controller button pressed: Right
Classic Controller button pressed: ZL

Right joystick left

Classic Controller button released: Down
Classic Controller button pressed: Down
Classic Controller button released: Right
Classic Controller analog shift (left) position changed: 0.03
Classic Controller button pressed: Right
Classic Controller analog shift (left) position changed: 0.17

And all the other buttons do nothing at all.

I use it to play sixtyforce emulator, but I also tried to map the buttons with 
Gamepad companion.

Thank you very much!

Original comment by guillebi...@gmail.com on 19 Jan 2014 at 12:47

GoogleCodeExporter commented 8 years ago
Hm... Sorry, but i doesn't have any ideas about this.

Can you try connect wiimote without classic controller, and plugin it after? Or 
disconnect/connect classic controller 2-3 times?

This classic controller works fine with real Wii? May be it's broken O_o

If not - i'll try to find bug in WJoy.

Original comment by alexandr.serkov on 20 Jan 2014 at 7:38