Is there a specific reason why you didn't add the `#define DYN_DRV 1` default present in `mouse-test.c` ? I don't see why this stuff should be identical for both files.