Hi Carlos,
Your description of the device indicates it is most likely a Surface Dial, full details on that device are provided on the link below.
That device is designed to work specifically with a Microsoft Surface PC, and on that device it would have full functionality when used on the screen.
You can however connect it via Bluetooth to another PC or laptop and use it on your desk, but you would not have full functionality of that device.
https://support.microsoft.com/en-gb/surface/accessories/dial/meet-surface-dial