You can create a mousetrap object of the native source type through the Mousetrap module method by passing a two-element (width and height, respectively) tuple in as source, the first argument.
The source_flags parameter is unused for native source.