From 30a286af985331c4cbb51257f10922e4f095bf85 Mon Sep 17 00:00:00 2001 From: hugtalbot Date: Fri, 31 Jul 2026 09:08:05 +0200 Subject: [PATCH] Fix comment on triggering controllers --- constants/__init__.py | 4 ++-- examples/keyEvents.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/constants/__init__.py b/constants/__init__.py index 62bc550b0..a4cb18238 100644 --- a/constants/__init__.py +++ b/constants/__init__.py @@ -38,8 +38,8 @@ class KeyPressedController(Sofa.Core.Controller): - #This controller monitors key movements. - # Press ctrl and a key to test it! + # This controller monitors key movements. + # Press CTRL + SHIFT + a key to test it! def __init__(self, *args, **kwargs): Sofa.Core.Controller.__init__(self, *args, **kwargs) diff --git a/examples/keyEvents.py b/examples/keyEvents.py index 74176ddeb..724afa8dc 100644 --- a/examples/keyEvents.py +++ b/examples/keyEvents.py @@ -29,7 +29,7 @@ class KeyPressedController(Sofa.Core.Controller): """ This controller monitors key movements. - Press ctrl and a key to test it! + Press CTRL + SHIFT + a key to test it! """ def __init__(self, *args, **kwargs): Sofa.Core.Controller.__init__(self, *args, **kwargs)