loading

A Professional Manufacturer of Smart Interactive Screens For More Than 10 Years 

the touch board as an hid keyboard - touch board

the touch board as an hid keyboard  -  touch board

Write messages with your TouchPad or control game!
Have you ever thought about using your TouchPad as a hid keyboard input for your computer?
You may want it to control your favorite online arcade game, or more like Makey (
But only one hand is needed to start! ).
Or maybe you have another use that requires a key.
Anyway, follow the steps below and soon you can type with the power of capacitive touch.
For more project ideas, please visit www. bareconductive.
ComTo start you need: 1 x touchpad 1 x USB Cable 1 x computer this tutorial assumes that you have installed the Arduino and set it to use the TouchPad.
If not, follow the link below and go back here as soon as you have everything set up.
In order for the TouchPad to work like a keyboard, we need to re-program and map the electrodes to the keystrokes.
Fortunately, we have written this code, so all you need to do is download it at the link below, decompress it, and put the hid _ keyboard folder in the Arduino Sketchbook folder: my documentation/Arduino MacDocuments/Arduino linux (Ubuntu)
Use the ArduinoDownload touchpad HID keyboard code to plug the touchpad into the computer via a USB cable.
Make sure the power switch on the board is set to on.
Open the Arduino IDE and then open the hid-keyboard sketch from Sketchbook.
Make sure to select the bare conductive touchpad under the tool
> The motherboard and the correct serial number (TTY)
Select port under Tools->Port. Click File-
> Upload push the code to the TouchPad.
The RX and TX LEDs on the TouchPad will flash and the Arduino IDE should say "Upload done ".
"Open a text editor such as TextEdit, Gedit, or notepad.
The touch E0 on the TouchPad will output the letter J, which you should see on the text editor screen.
You should see from E0 to E11: If this works-congrats you, your code works!
If you open the garage band and press each electrode in turn, you will hear the scale being played.
You may notice that there is no R in a string of letters above-this is due to the way the garage band maps keys to notes.
We chose the default letters in the code to skip the R so it works well in the garage band-but you can change them to whatever letter you like in the steps below.
Please double if you have difficulty
Check if the motherboard is open and try to reopen
Upload the code to the motherboard.
You may have to hold down the reset button and release the Arduino IDE only if it says upload.
It would be great if the letters we chose were your favorite, but what if they weren't?
Don't worry-you can easily change them by editing the keyMap variables in line 34 of the hid _ keyboard. ino.
You can see some non-
Print keyboard strokes on 35 lines, and the Arduino keyboard modifier reference link here has many other valid keys to choose from.
The position of the in-parentheses key determines its mapping-the first mapping in the array to E0, the second mapping to E1, and so on.
Do not place more than 12 different items in the array, otherwise the code will not work.
Also, don't forget that single quotation marks are required around normal letters, such as "a", while special keys are named KEY_F1 (
"F1" key on keyboard).
Now that we have the keyboard code and can map it to our favorite key, what should we do with it?
As we mentioned earlier, the stock code works well with GarageBand to play a simple scale, but what else can you do?
There are a lot of online games that are controlled with a keyboard.
What we like most is doodle.
This uses the left and right arrow keys to control the movement of the character and uses spaces to fight the bad guys.
So let's control it with the touchpad!
In hid-keyboard.
Ino, uncomment 35 lines to use an alternative key map.
This is achieved by removing the/at the beginning of the line.
Also, you should comment out 34 lines (
Add/at the beginning of the row //)
-This will result in this code (Default map)
Gray is not active.
If you upload the modified code to the TouchPad now, the first 5 electrodes (E0 to E4)
Will control the character-take a closer look at 35 lines and see which one did what.
Now go to the website linked below and you should be able to control the game with your TouchPad.
Once it's working fine, you can start designing your own custom game handle or controller using electric paint and cardboard-or something more fancy!
Please visit www if you like this tutorial. bareconductive. com for more!

GET IN TOUCH WITH Us
recommended articles
Knowledge INFO CENTER FAQ
10 Hidden Features of Interactive Flat Panels You Didn’t Know Could Save Time & Money
Interactive Flat Panels (IFPs) have revolutionized classrooms, boardrooms, and collaborative spaces worldwide. While most users focus on their basic functions—touchscreen displays and presentation tools—these powerful devices are packed with underutilized features that can dramatically streamline workflows and cut costs. Below, we unveil 10 hidden gems that turn your IFP into a productivity powerhouse.
Interactive Flat Panel vs. Traditional Whiteboards: Which Saves More Time and Money?
In today’s evolving educational and corporate landscapes, choosing the right collaboration tool is critical. While traditional whiteboards have been classroom and boardroom staples for decades, interactive flat panels (IFPDs) are increasingly seen as the future of dynamic collaboration. But when it comes to saving time and money, which option truly delivers? Let’s break down the financial and operational impacts of both tools to help you decide.
How to Choose the Perfect Interactive Flat Panel: 7 Essential Factors for 2025
In today’s tech-driven world, interactive flat panels (IFPDs) have become indispensable tools for modern classrooms, boardrooms, and collaborative spaces. Whether you’re upgrading your office or building a smart classroom, selecting the right IFPD can transform productivity and engagement. Here’s a streamlined guide to help you make an informed decision:
The Interactive Flat Panel Revolution: How Smart Collaboration is Redefining Work & Education
Imagine a world where classrooms buzz with holographic science experiments, boardrooms transform into immersive war rooms with global teams, and hospital staff troubleshoot emergencies on a digital canvas – all through a single device. This isn’t sci-fi; it’s the reality powered by next-gen Interactive Flat Panels (IFPs). Forget “digital whiteboards” – today’s IFPs are AI-driven collaboration hubs rewriting human interaction. Let’s explore why they’re becoming the spine of modern workspaces and learning ecosystems.
Why Smart Board Prices Are Worth It: Smarter Tech for Modern Learning  
When considering white board smart board prices, it’s not just about cost—it’s about value. Modern LCD display infrared smart whiteboards are packed with features that transform classroom teaching, e-learning, and remote collaboration. Here’s why ITATOUCH smart boards stand out……
Maintenance Tips for Long-Lasting ITATOUCH Interactive Flat Panels
Interactive flat panels (IFPs) like the ITATOUCH Interactive Flat Panel have revolutionized collaboration and learning in both educational and corporate environments. These high-tech tools empower educators to deliver dynamic lessons and enable businesses to streamline presentations and brainstorming sessions. However, to ensure peak performance and longevity, proper maintenance is essential. Below are practical tips to keep your ITATOUCH panel running smoothly for years to come.
Why Schools Are Upgrading to Interactive Flat Panels: A Guide for Educators
ITATOUCH interactive flat panels are highly rated, with over 99% of clients across 50+ countries giving "Good" to "Very Good" reviews. They integrate seamlessly with platforms like Google Classroom, Zoom, and Microsoft Teams, offering reliable, innovative tools for educators. ITATOUCH provides custom solutions, including OEM, ODM, SKD, and fully customized options, all competitively priced and certified (TUV-CB, CE, FCC, ROHS, ISO). With fast delivery (3-15 days) and readily available stock, ITATOUCH ensures minimal downtime. Upgrade your classroom with ITATOUCH and embrace the future of education.
After the splicing screen is added with the touch frame, the large screen interaction can be realized, which can be better introduced and publicized by adding the touch frame, and the splicing screen can have the effect of realizing multi-person interactive touch wall, therefore, after the touch frame is added, the use of the splicing screen is more abundant, the configuration requirements for the splicing screen system are lower, and the flexible space for installing the touch frame is larger,
The teaching all-in-one machine must be familiar to everyone, from the earlier computer projector to the present interaction and teaching.
In this era of continuous influx of information technology, the intelligent touch all-in-one machine is well known as the fifth media besides paper media, radio, television and the Internet.
no data
Established in Oct, 2016, focusing on the interactive high-tech products, specializing in the development of LCD touch screen monitor, interactive whiteboard, interactive learning software, infrared touch screen frame, interactive tablet … etc.
INFORMATION FOR INQUAIRY
Tel: +86 755 28281849
Wechat & whatsapp: +86 13582949978
Address:  Building #123, Mansheng Industrial District, Gongming Town, Guangming District, Shenzhen, China
Copyright © 2022 ITATOUCH| Sitemap
Customer service
detect