Gamepad support

To post any request/idea for new functionalities
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Gamepad support

Post 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
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Gamepad support

Post 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 ;).
Daniel, CloudCompare admin
gabrielwalton
Posts: 17
Joined: Wed Nov 06, 2013 9:31 am

Re: Gamepad support

Post 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.
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Gamepad support

Post 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...
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Gamepad support

Post 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.
Daniel, CloudCompare admin
MarkADUS
Posts: 2
Joined: Wed Dec 14, 2016 9:40 pm

Re: Gamepad support

Post by MarkADUS »

Hi there
Has the Gamepad been implemented in the 2.8 BETA stereo version?

Many thanks in advance,
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Gamepad support

Post 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).
Daniel, CloudCompare admin
MarkADUS
Posts: 2
Joined: Wed Dec 14, 2016 9:40 pm

Re: Gamepad support

Post 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
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Gamepad support

Post 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...
Daniel, CloudCompare admin
dhirota
Posts: 5
Joined: Sat Mar 04, 2017 9:39 pm

Re: Gamepad support

Post 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?
Dennis Hirota, PhD, PE, LPLS
dennishirota@gmail.com
Post Reply