input: deduplicate code
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 15 Aug 2014 17:16:58 +0000 (20:16 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 15 Aug 2014 17:16:58 +0000 (20:16 +0300)
commit04a366e3e6d83495c76452c9fdc2bb6e2c869b77
tree4a1ebbc405b24d211bb507d19c5db03029b323aa
parentfdb9f79e5ffdb566a1b5f5940d83f8cd93f08783
input: deduplicate code
src/input/input.c