The Wacom tablets are the most likely to work. Check Windows>Dockable dialogs>Device status. If you have more than one device listed(*) then it should work. To tell Gimp how to use the stylus pressure (and tilt, on your tablet) you use Dynamics..
(*) Normally three since you have a reversible stylus: one for your regular mouse/touchpad, and one for each end of the stylus.
(*) Normally three since you have a reversible stylus: one for your regular mouse/touchpad, and one for each end of the stylus.