@csounder I have found a piece of example code that Bernt had given me:
/***** Trill.csd *****/
;------------------------------------------------------
; Input from Trill sensors - Csound on Bela
; * Bernt I. Wærstad, Victor Lazzarini, Alex Hofmann
;
; This example shows how to read values from Trill sensors
; connected to the Bela. Go to bela.io/trill to get started
; with connecting Trill to Bela
;------------------------------------------------------
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
ksmps = 8
nchnls = 2
0dbfs = 1
instr 1
iNumTouches = 5
iTrillID = 0
kactiveTouches init 0
ktouchSizes[] init iNumTouches
ktouchVert[] init iNumTouches
ktouchHori[] init iNumTouches
kactiveTouches, ktouchSizes, ktouchVert, ktouchHori trill iNumTouches, iTrillID
printk2 kactiveTouches
ktrig_v changed2 ktouchVert
ktrig_h changed2 ktouchHori
ktrig = ktrig_v + ktrig_h
printarray ktouchVert, ktrig, "","Vertical:"
printarray ktouchHori, ktrig, "", "Horisontal"
endin
</CsInstruments>
<CsScore>
i1 0 86400
</CsScore>
</CsoundSynthesizer>