I've been trying this same setup, and the mouse was recognized, but currently TeamViewer's Android app doesn't utilize it in a useful way for me. I can see & control the local Android mouse pointer just as expected, but need to use it to click/drag the separate mouse pointer of the remote (Win7) computer. In other words, you end up with two mouse pointers that aren't synchronized, and need to use one to drag around the other (leading to many wrong clicks and extra scrolling/effort). I do see the same behavior on Jelly Bean, Marshmallow, and an N preview devices, so it looks to be a TeamViewer app issue and not dependent on Android version...
It's very frustrating -- if the Bluetooth/local mouse would move & click the remote/win7 pointer directly, Android would instantly become a viable Surface/laptop replacement for me!