hi,
Got the MCP4922 datasheet OK.
As you have an 8 bit resolution from the source [mouse] IMO trying to convert to 12 bit would not give any advantage.
I would consider left shifting the 8 bit data byte by 4. That is the least significant bits D3-D0 set as '0''s [ use a WORD reg ],
OR the hi byte, low order bits with the Write Command register.
[effectively dividing the 12 bit by 16]
eg: /A.B,BUF,/GA,/SHDN,[D7,6,5,4, | 3,2,1,0],0,0,0,0
Send this image to the DAC