Hot corners for mouse only
You cannot differentiate what kind of mouse/input device triggers hot corners. To the computer, a pointing device (mouse, trackball, trackpad, etc.) is a pointing device and all give input the same way so there's no way for it to differentiate what is actually moving the mouse. Hardware settings for each different device (such as tracking speed for a mouse vs a trackpad) are a different story.