Jump to content
Flirc Forums

Suggestion for recording keys twice


inzombyac

Recommended Posts

Since some remotes send alternating codes and there are multiple questions/postings about having to record the same key twice, why not record two key presses when going through the setup?  The second press could confirm the original code, or determine if the remote alternates codes between presses.  If users don't want to go through this process, you could also just make this an option in the Advanced menu "My remote uses multiple codes per button".

 

Possible workflow:

1) Press a button on the gui or use the flirc_util record command

2) Prompt user to press a button on the remote

3) User presses button on the remote

4) Acknowledge the code was received and prompt the user to press the key again

5) User presses same button again

6) Acknowledge the second press. If the codes are the same each time, record the first code.  If they are different, record both.  You could even prompt the user to press the button again, to recognize that the third press matches the first.

 

This would eliminate the headache for MCE style remotes.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

The RC6 protocol usually toggles only a single bit but the problem is that the whole signal is stored in a hashed form. Even single bit change can generate very different hash value in the Flirc. The trick is to properly detect that the signal is an RC6 one and do something with it. The best thing would be to ignore this bit so no matter if it is set or not the hash would be the same. But I don't think it is possible with processing power of microcontroller used in Flirc as this would require to actually decode the signal into raw data. The other course of action would be to ask the user to press the button one more time if RC6 signal is detected - not ideal solution because user still needs to press the button multiple times but at least there is no need to manually record the same key combination again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...