Wacom force sensors are also in the pencil, but they get their power through induction or something from the tablet.
The stylus pressure and buttons was a sensor on the stylus that was sensed by the tablet.
The screen or surface didn't have any sensors.