A:AnswerYes. It will work with any Apple computer that supports a mouse and uses the OS X operating system (Version 10.9.x or later -- including macOS Mojave). The Logitech Control Panel will install in the System Preferences app and can be used to configure the M705's multiple buttons & functions.
A:AnswerIt won't go 40ft. Look at the Logitech presentation mice with laser pointer. I have one and it works perfectly. Check the specs before you purchase. Logitech will be able to chat with you on the best solution for you.