Listen for device buttons

Hi,

Is there anyway to listen for a device specific button in ANDROID?
I have a device with a hardware hard button that triggers a laser scanner, and I want to know when the user is pressing it. Is there anyway to do this in ionic?

Thanks,