> > The third patch simplifies the matching logic in kmap() and match() without > > changing the behavior. Hopefully, it is straightforward, but it probably > > deserves a careful reading to make sure I haven't made any mistakes. > Why removing mappedkeys? Sure, there may be no visible regression, but > checking every keypress against key bindings seems unreasonable to me.
I agree. I don't like the actual solution of this problem, but we need some way of avoiding check all the keys. -- Roberto E. Vargas Caballero _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd _______________________________________________________________________ -- Roberto E. Vargas Caballero _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd _______________________________________________________________________