[pynix] Handle button and state mouse information