IR-Remote-Receiver-Python-Module icon indicating copy to clipboard operation
IR-Remote-Receiver-Python-Module copied to clipboard

Press and Hold Volume button

Open sankar2389 opened this issue 4 years ago • 1 comments

Can you please guide me how to handle press and hold a remote button?

sankar2389 avatar Mar 28 '21 17:03 sankar2389

Hi

Use the ir.set_repeat(repeat = True) function to ensure the repeat functionality is enabled. Then when the program gets a repeat code it should just set the code to the last code received. This assumes you are using an NEC formatted remote.

owainm713 avatar Mar 30 '21 21:03 owainm713