Dosbox mouse pad error

Yesterday, whenever I load Dosbox core and play a dos game from my friend’s laptop, the mouse doesn’t move. I know the mouse is related to the core, but it mostly causes the mouse pad to not function unless if I turn retroarch off. It doesn’t happen on my desktop, but happens on my friend’s laptop for some reason.