Thanks for the replies guys!
I decided to re-write the trinket code, as I already had the knob / encoder / trinket / housing built and configured. I have a spare encoder so may look at the SqueezeButtonPi-Daemon in the future for control if I add a screen. That being said, I didn't realise it's actually JiveLite that responds to the keyboard presses - I didn't have that installed, but figured that out from previous posts :) If anyone is interested, this is the code I changed (and added a pause function to the encoder press switch too): Code: -------------------- if (enc_action > 0) { TrinketHidCombo.typeChar(43); } else if (enc_action < 0) { TrinketHidCombo.typeChar(45); } // remember that the switch is active-high if (bit_is_set(TRINKET_PINx, PIN_ENCODER_SWITCH)) { if (sw_was_pressed == 0) // only on initial press, so the keystroke is not repeated while the button is held down { TrinketHidCombo.typeChar(99); -------------------- Many thanks again - for the help, and for piCorePlayer! :D ------------------------------------------------------------------------ LivewareProblem's Profile: http://forums.slimdevices.com/member.php?userid=68752 View this thread: http://forums.slimdevices.com/showthread.php?t=108852 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix