filter_evdev creates a virtual input device from a physical input device. It provides anytime configuration of positive, negative, or custom acceleration or sensitivity for each axis, or remapping axes or buttons as requested, e.g. inverting the two main mouse buttons or making the middle button act as the right button. Configuration can be dynamically changed by text commands sent to a UNIX socket. Commands apply to specific axes, buttons, or keys when moved in specified value ranges, and consist of custom arithmetic operations.
Flex Bison C++ Template is a code template that can be used to integrate a Flex scanner and Bison parser pair into a modern C++ program. These two universal tools are very difficult to incorporate into a good C++ design. The template utilizes both Flex and Bison in C++ mode and their output are encapsulated into classes. Thus the lexer and parser become fully reentrant, and multiple distinct lexer-parser pairs can easily be linked into one binary. The code implements a simple infix-notation calculator as an example, which can be used as a starting-point for you to insert your grammar.