Da gab es ein fertiges Interface dafür (evtl Stigma). Schon paar Jahre alt, aber funktioniert bei mir auf Autolose immernoch einwandfrei.
MfG