The patent briefly mentions the combination of the Apple Pencil and Magic Trackpad (or "electronic equipment"), which would receive "electromagnetic signals from electrodes at the first end of the stylus" and translate a user's drawing into a compatible iMac program. The potential integration could bring artistic drawings and programs to Apple's desktop line, similar to the boom such apps saw with the release of the Apple Pencil and iPad Pro last year.
Overall, the new patent details a next-generation Apple Pencil with a far greater technological reach than the current version of the stylus. The proposed update could bring in-air gestures in order to let users control Keynote slides or rotate objects on an iMac screen, turn the accessory into a joystick for games, or even use the Apple Pencil as "an air mouse" in lieu of the Magic Trackpad itself.
Although Apple was granted the patent today, as with other patents, it's a good idea to remain wary as to how long it will take the company to announce, reveal, and release such a device like the Apple Pencil described here, if it ever will. All the same, it would appear a safe bet that a new version of the stylus could pack in some of these motion-sensing features, even if it's still limited to the iPad line.