Simulator control surface project- advice needed (lots of digital inputs)

piel:
Changed to external pullups with no real difference. At slow speeds there are no bounces, at high there are a few but still wouldn't account for the data loss.
If i turn 10 clicks at a really moderate speed i can count 10 negative pulses on the analyser.
On my LCD i count 5-8. Thats 20-50% data loss.

My code must be really inefficient or just faulted.

Your encoders are switches with an "OPEN" between detent position.

Paul