How to enable right-click on trackpad?

How do I enable right-click on my trackpad? I ran across this:DebuggingTouchpadDetection - Ubuntu Wiki

However, digging into that script shows that it’s using xinput, and the man page for xinput indicates that would be a mistake in Wayland (I’m running gnome on wayland).

In most instances, using xinput with an Xwayland device is indicative of a bug in a shell script and xinput will print a warning. Use the Wayland Compositor's native device configuration methods instead.

That script clearly won’t do anything good.

┌╴~ 
└╴❱❱❱ xinput
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:17                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:17            	id=7	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:17                    	id=8	[slave  keyboard (3)]
                                                                                                                                                                              
┌╴~ 
└╴❱❱❱ xinput list 2 | rg Range
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
		 Range: -1.000000 - -1.000000
		 Range: -1.000000 - -1.000000
		 Range: -1.000000 - -1.000000
		 Range: -1.000000 - -1.000000