How the CX77 Touch Tablet and the CX70/CX75 light pens talk to an Atari, and how to read them from BASIC: paddle values, buttons, PENH/PENV at 564/565, calibration, and today's emulation.
How the Atari reads its controller ports: STICK, STRIG, PADDLE and PTRIG in BASIC, the bit patterns behind the numbers, shadow and hardware registers, and fast decoding in BASIC and assembly.
Build Paddle Squash in Atari BASIC: turn PADDLE() readings into smooth bat movement, use players for the bat and ball, bounce at angles, keep score and test it all with an emulated paddle.