Logitech G710+ M# and G# keys

I've been trying for a few weeks to get my macro function keys on my new Logitech G710+ mechanical gaming keyboard to be recognized in Ubuntu 14.04. I've verified that they do work in Windows, so it's not a hardware malfunction. Currently the G# keys report as the number keys instead of their own keycodes, but the M# keys do not report at all.

I'm at a loss at what to do next. Is the private key error preventing the drivers from being properly installed? If so, how do I resolve that issue?
This is my first time going this deep into linux hardware programming, so newb-friendly answers would be much appreciated.

Last edited by sienile; March 14th, 2015 at 05:05 PM.
Reason: Spacing in code blocks

You just need to change the "XF86Launch" commands to whatever you want. For instance, I used "keycode 191 = less". Now when I press my M1 button it produces the less than (<) symbol. Pretty neat, right?