GetHitResultUnderCursor() doesn't seem to work (Gentoo Linux)

When attempting to use GetHitResultUnderCursor() under Gentoo the resulting FHitResult returns zero’s.

This occurs in the example project “Top Down” which doesn’t show the green circle that’s suppose to follow the cursor, and clicking to move the character doesn’t work.

I’ve tried running it under the Xfce desktop environment thinking that it was the tiling window manager I was using, but it didn’t work on Xfce too. I also tried a clean Xorg configuration by moving everything out of /etc/X11/xorg.conf.d/.

I did install Ubuntu on a separate partition, which didn’t have any issues there, so I’m not sure what’s causing the issue under Gentoo.

Any help debugging this issue would be greatly appreciated.

EDIT: I should note that setting the mouse to use touch controls fixes the issues with the “Top Down” example project, and allows mouse clicks to properly make the character move to a chosen location.

I solved it!

It turns out Device Drivers -> Input device support -> Mouse interface needs to be set to <M>, or [*] in my kernel configuration.