Default Note 2 phone screen is response to earbud cable

if I plug in my earbud into my note 2, and put into one (not both) earbud into my ear, I can use the cable to swipe the screen.
Device: Samsung Galaxy Note 2 GT-N7100
Android version: 4.4.2
Rom: DN3 5.2
Kernel: Nadia r6.1.1
Recovery: TWRP 2.7.0.2