BleuLlama / TinyBasicPlus

A C implementation of Tiny Basic, with a focus on support for Arduino
406 stars 118 forks source link

PS2 Keyboard support within TBP itself. #1

Open ghost opened 11 years ago

ghost commented 11 years ago

I found possibly useful library for PS2 keyboard input from arduino playground. It looks like there is enough space to use this library with TinyBasicPlus on Arduino Uno. I didn't test this library but I will be testing it as soon as possible.

http://www.arduino.cc/playground/Main/PS2Keyboard

BleuLlama commented 6 years ago

Hi. This has been done by others, but not within TBP itself. I'm repurposing this ticket to be: PLEASE ADD PS2 KEYBOARD SUPPORT. :D

rgbond13 commented 3 years ago

I can get around to adding support this afternoon. Since I have a 1284P I'm not super worried about space consumption but I can also test with a 328P to ensure that the code sizes adhere to the standard of this project.

Update It turns out there are two options: PS2Keyboard and PS2KeyboardExt. PS2KeyboardExt supports more keys and caps lock, maybe shift too but adds a massive 3.7kB to the project. I'm using https://github.com/techpaul/PS2KeyAdvanced instead. You should probably have multiple branches, one with PS2 support and one UART.

Update 2/4/2021 Does this even have to be PS2 or can a USB Host shield be implemented instead?