In case someone was trying to make M65 Pro RGB mouse work on Ubuntu 16.04 and got the "No devices connected" error here is what I did:
Before compiling the driver, open /src/ckb-daemon/usb.h file and on
#define P_M65 0x1b12
#define P_M65_STR "1b12"
#define IS_M65(kb) ((kb)->vendor == V_CORSAIR && ((kb)->product == P_M65))
Change it with:
#define P_M65 0x1b2e
#define P_M65_STR "1b2e"
#define IS_M65(kb) ((kb)->vendor == V_CORSAIR && ((kb)->product == P_M65))
Probably not the best way to edit code but on Ubuntu 16.04, ckb can now identify and properly config the mouse.
Cheers!