config PMW3389 bool "PMW3389 Mouse Sensor" depends on SPI help Enable mouse sensor The PMW3389 is a 16-bit optical mouse sensor if PMW3389 choice prompt "Trigger mode" default PMW3389_TRIGGER_NONE help Specify the type of triggering to be used by the driver. config PMW3389_TRIGGER_NONE bool "No trigger" config PMW3389_TRIGGER_GLOBAL_THREAD bool "Use global thread" depends on GPIO select PMW3389_TRIGGER config PMW3389_TRIGGER_OWN_THREAD bool "Use own thread" depends on GPIO select PMW3389_TRIGGER endchoice config PMW3389_TRIGGER bool config PMW3389_THREAD_PRIORITY int "Thread priority" depends on PMW3389_TRIGGER_OWN_THREAD default 10 help Priority of thread used by the driver to handle interrupts. config PMW3389_THREAD_STACK_SIZE int "Thread stack size" depends on PMW3389_TRIGGER_OWN_THREAD default 1024 help Stack size of thread used by the driver to handle interrupts. endif # PMW3389