event/sw: add device capabilities function