bluetooth – Wireless keyboard Apple connecting with iPad, but not with MBP

That's basically the title: my Apple Wireless Keyboard keyboard connects perfectly to an iPad, but not to my MacBook Pro. I used the usual process of turning off the keyboard and then holding down the power button until the light flashes. Just in case it matters, I reset NVRAM and SMC, but to no avail.

Interestingly, the Magic Trackpad 1 connects perfectly to my Mac, however.