kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=19e250321f25d47bb4946ed92f494fd05fd5ef41
commit 19e250321f25d47bb4946ed92f494fd05fd5ef41 Author: Kim Woelders <[email protected]> Date: Sat Dec 22 18:11:33 2018 +0100 Tweak glwin commands - Change R to S(top) - Add R(eset), resetting the absolute rotations too --- src/glwin.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/glwin.c b/src/glwin.c index f6ce6d01..a696967f 100644 --- a/src/glwin.c +++ b/src/glwin.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2015 Kim Woelders + * Copyright (C) 2007-2019 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -518,7 +518,11 @@ GlwinKeyPress(GLWindow * gw, EX_KeySym keysym) glEnable(GL_LIGHTING); break; - case XK_R: + case XK_R: /* Reset */ + rot_x = rot_y = 0.0f; + /* FALLTHROUGH */ + + case XK_S: /* Stop */ bg_z = -2.0f; speed_x = 0.0f; speed_y = 0.0f; --
