Touchpad TTP229 dummy value
Posted: 03 Nov 2018, 08:55
Still struggling getting my touchpad working. I created 2 divices:
1: device PPT229 touchpad called 'keypad', the value field is called 'ScanCode'
2: a virtual device called 'dumkeypad' , the value filed (the first one of the 4 available) is called 'Dumkeyfield'.
to copy the the value of the 'ScanCode' is done by a rule:
On keypad#ScanCode Do
If [keypad#ScanCode] = 1.00
TaskValueSet 2,1,[keypad#ScanCode]
If [keypad#ScanCode] = 5.00
TaskValueSet 2,1,[keypad#ScanCode]
Endif
Endon
But the value of the pushed button is visible in the value field ScanCode but not transferred to the Dummy field Dumkeyfield.
What is wrong?
Pls advise.
1: device PPT229 touchpad called 'keypad', the value field is called 'ScanCode'
2: a virtual device called 'dumkeypad' , the value filed (the first one of the 4 available) is called 'Dumkeyfield'.
to copy the the value of the 'ScanCode' is done by a rule:
On keypad#ScanCode Do
If [keypad#ScanCode] = 1.00
TaskValueSet 2,1,[keypad#ScanCode]
If [keypad#ScanCode] = 5.00
TaskValueSet 2,1,[keypad#ScanCode]
Endif
Endon
But the value of the pushed button is visible in the value field ScanCode but not transferred to the Dummy field Dumkeyfield.
What is wrong?
Pls advise.