Using original MAC remote to control slides on libreoffice

I run libre office on a late 2009 Macbook.

The operating system is 10.10.5 Yosemite

I don’t know how to get the remote to talk to libre office.

Is it possible and if so how do I do it?