Page 1 of 2

Gamepad support

Posted: Sun Nov 06, 2016 8:44 am
by daniel
The latest 2.8 beta version of CC (online) now supports gamepads. I developed it with a Xbox One controller for Windows.

Check that the controller is connected (File > Game > Enabled). Then be sure to enable the viewer-based perspective mode (F4 or the 'A' button of the controller). The other modes work but they may be more disturbing as the controller will control the object and the not OpenGL camera.

Here is the current control mapping:
  • A: toggle viewer-based perspective mode
  • B: toggle object-based perspective mode
  • left stick: move body (viewer-based mode) or move object [left/right and forward/backward]
  • right stick: rotate head (viewer-based mode) or rotate object
  • cross: move body (viewer-based mode) or move object [left/right and up/down]
  • L1/R1: change point size
  • L2/R2: roll left/right
  • start: zoom and center on the visible entities

Re: Gamepad support

Posted: Mon Nov 07, 2016 7:41 pm
by daniel
I have just updated the online beta version to fix a bug (the gamepad was not always detected + a silly error message was appearing at startup for people without any connected gamepad ;).

Re: Gamepad support

Posted: Tue Nov 08, 2016 7:59 am
by gabrielwalton
Amazing, very speedy implementation!

Has the gamepad support been implemented in the 2.8BETA Stereo version?

I will now make a donation as promised.

Re: Gamepad support

Posted: Tue Nov 08, 2016 10:34 am
by daniel
Nope I'll have to compile the stereo version separately.

Does it work on your side with the standard version? Strangely it works on my main development machine, but not on the others...

Re: Gamepad support

Posted: Sun Nov 20, 2016 10:54 pm
by daniel
I believe the Gamepad support was not working properly in the previous beta version. I've fixed it now. Can you test it (with the latest online non-stereo beta version)?

If it works, I'll compile the stereo version.

Re: Gamepad support

Posted: Thu Dec 15, 2016 4:43 pm
by MarkADUS
Hi there
Has the Gamepad been implemented in the 2.8 BETA stereo version?

Many thanks in advance,

Re: Gamepad support

Posted: Thu Dec 15, 2016 6:05 pm
by daniel
Did you test the gamepad with the standard version already? I was waiting for feedback to know if it works with the standard version (before compiling the Stereo version with it).

Re: Gamepad support

Posted: Sun Dec 18, 2016 2:14 pm
by MarkADUS
HI Daniel
with Cloud Compare v2.8.beta[64bits] I get the '[Gamepad] No device registered' error, same as in the stereo version;

Thanks
Mark

Re: Gamepad support

Posted: Sun Dec 18, 2016 5:58 pm
by daniel
That's the issue, the Gamepad support is still in 'beta' in Qt... and I only managed to make it work on one PC for now (the one I develop CC on ;). We'll probably have to wait for the next version of Qt...

Re: Gamepad support

Posted: Mon Mar 06, 2017 3:36 pm
by dhirota
Is the gamepad support working for CC2.8.1? I am getting "no device registered" File>Gamepad>enable. If the XBOX controller is working for other programs, do I need to do something to register it with CC2.8.1?