In the Windows operating system, I can create filter drivers for keyboards, mouses and other devices. There is the concept of the "device stack". Is there anything similar on linux? If so, is there any article or tutorial about filter drivers in linux?