Hardware Interaction with Flash

I am wanting to Interact with the buttons on a pda with Flash. Can Flash listen for Operating or Hardware events?