terry0012 opened a new pull request, #4035:
URL: https://github.com/apache/nuttx-apps/pull/4035

   
   ## Summary
   
   - Add long-press exit monitoring to monkey through the `-e` option
     (default: `/dev/input0`, threshold: 2500ms).
   - Use a poll loop with signalfd and timerfd for signal handling and
     event scheduling.
   - Make monkey/input-tool dependencies explicit, expose the input
     generator configuration, and retain automatic selection of
     LIBC_PRINT_EXTENSION for monkey logging.
   
   ## Impact
   
   The exit-monitor device is grabbed exclusively until monkey exits.
   SIGTERM exits through normal cleanup; SIGTSTP/SIGCONT pause and resume
   input generation.
   
   Board configurations must explicitly enable the required dependencies.
   A corresponding NuttX qemu-armv7a:full defconfig update is needed to
   keep the input tool enabled.
   
   ## Testing
   
   - Native simulator build and 28 runtime checks passed for the unchanged
     monkey C implementation, covering signals, multiple instances,
     pause/resume, short/long presses, grab release and restart.
   - Validated the final Kconfig dependencies and the updated QEMU defconfig.
   - Source formatting, commit-message and whitespace checks passed.
   - No QEMU ARM cross-build or hardware testing performed. Simultaneous
     signal/timer readiness remains unverified.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to