Interface for Gamepad Press

I am using inputs for both the mouse and gamepad.

For button interactions with mouse hover and click, I use ‘OnPointerEnter’ and ‘OnPointerClick’ for UI button interactions.

For the gamepad, I use ‘OnSelect’ as an equivalent of ‘OnPointerEnter’.

However, I can’t manage to find an interface or a clean way to listen to gamepad button clicks.

I’ve just come across on the unity documents. ISubmitHandler listens for gamepad clicks. It is not exactly the same with Ipointerclick because submit doesn’t check for any raycasting.

So for basic implementations, it might be safe to say;
-Hovering a button or UI element,
Mouse: IPointerEnterHandler
GamePad: ISelectHandler

-For Clicking a button or UI element,
Mouse: IPointerClickHandler
GamePad: ISubmitHandler