This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository entice.

View the commit online.

commit 943406f2fbfbb66cea9a552adec77213ad0f7301
Author: Vincent Torri <[email protected]>
AuthorDate: Sat Apr 4 23:56:32 2026 +0200

    add Ctrl-arrow to rotate
---
 README.md            | 4 ++--
 src/bin/entice_key.c | 9 +++++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 137308c..84bd3bc 100644
--- a/README.md
+++ b/README.md
@@ -78,8 +78,8 @@ Next image | space, or right arrow, or down arrow, or Next key
 Previous image|  backspace, or left arrow, or up arrow, or Prior key
 First image | home, or Alt-home
 Last image | end, or Alt-end
-rotation clockwise |  Ctrl-r
-rotation counter-clockwise | Ctrl-Alt-r
+rotation clockwise |  Ctrl-r or Ctrl right arrow
+rotation counter-clockwise | Ctrl-Shift-r or left arrow
 Original size | Ctrl-0
 Best fit | b
 Zoom in | +, or =
diff --git a/src/bin/entice_key.c b/src/bin/entice_key.c
index 7e951b8..892001a 100644
--- a/src/bin/entice_key.c
+++ b/src/bin/entice_key.c
@@ -177,16 +177,21 @@ void entice_key_handle(Evas_Object *win, Evas_Event_Key_Down *ev)
     }
 
     /* Control modifier */
-    if (ctrl)// && !alt && !shift && !winm && !meta && !hyper)
+    if (ctrl && !shift)// && !alt && !shift && !winm && !meta && !hyper)
     {
         if (!strcmp(ev->keyname, "q"))
         {
             evas_object_del(win);
         }
-        else if (!strcmp(ev->keyname, "r"))
+        else if (!strcmp(ev->keyname, "r") ||
+                 !strcmp(ev->key, "Right"))
         {
             entice_image_rotate(entice->image, 1);
         }
+        else if (!strcmp(ev->key, "Left"))
+        {
+            entice_image_rotate(entice->image, 3);
+        }
         else if (!strcmp(ev->keyname, "c"))
         {
             entice_win_file_copy(win);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to