(First of all, thanks again for sharing these settings, much appreciated)
My Project
I wanted to share a version of keyscan360 with a secondary trigger this way:
Double click POWER: Launch the SERVER for remote admin
Click POWER then MENU in quick succession to apply the ISO and UNBLUR settings
Based on the fact that I didn't want to change your code too much, I kept your logic that previous_ev is registered based on the last PRESSED and also the fact that I didn't know what REPEATED actually meant, I didn't want to risque redoing the logic with PRESSED and RELEASED by hand.
are correctly reinitialized after each shell script call, so I don't understand why it's always redirecting to the same script once one has been triggered.
https://github.com/ottokiksmaler/gear360_modding/blob/0e3af0fcc019737808cd2ec2bdd2e2df14ee42dd/keyscan360.c#L239
Hi! @ottokiksmaler
(First of all, thanks again for sharing these settings, much appreciated)
My Project
I wanted to share a version of keyscan360 with a secondary trigger this way:
Based on the fact that I didn't want to change your code too much, I kept your logic that
previous_ev
is registered based on the lastPRESSED
and also the fact that I didn't know whatREPEATED
actually meant, I didn't want to risque redoing the logic with PRESSED and RELEASED by hand.I ended up implementing this trigger:
G360POWE_G360MEN.sh
with only the logic for ISO params and made custom LEDs blink to differentiate it fromG360POWE_G360POW.sh
G360POWE_G360POW.sh
to remove the ISO settings part.Then I encountered this fascinating behavior which tells me I'm clearly not understanding how the device works:
Scenario 1 (Using ISO settings):
G360POWE_G360MEN.sh
Scenario 2 (Using remote access):
G360POWE_G360POW.sh
Scenario 3 (Using remote access THEN ISO):
G360POWE_G360POW.sh
G360POWE_G360POW.sh
?Scenario 4 (Using ISO then remote access):
G360POWE_G360MEN.sh
G360POWE_G360MEN.sh
?Question:
It seems I can only run one single script, but I can however run it several times? It makes no sense. Reading keyscan360, the variables
are correctly reinitialized after each shell script call, so I don't understand why it's always redirecting to the same script once one has been triggered.
Do you have an idea?