Touchscreen and pen support for the IDE

I have a windows 11 tablet (lenovo Thinkpad x1 tablet gen 3. I mainly use it with onscreen keyboard, and the pen.

Issue is i can't scroll with the pen or touchscreen when dragging in the window, will only scroll with scroll bar

Instead text gets selected. I can scroll fine in other windows apps.

Are there plans to add touchscreen support?

Hi @Devicemodder. Which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the dialog that opens when you select Help > About (or Arduino IDE > About Arduino IDE for macOS users) from the Arduino IDE menus.

I ask for this information because you chose the IDE 1.x forum category for your topic, which would indicate you are using the obsolete Arduino IDE 1.x (e.g., 1.8.19), while any features such as you are requesting would be implemented in Arduino IDE 2.x since Arduino IDE 1.x is no longer under development.

My bad forgot to post the version. Its 1.8.19. Does the 2.x version support touchscreen scrolling/pens on windows tablets?

I don't own a touchscreen device so I can't check. But Arduino IDE 2.x is a complete rewrite which is based on modern technologies so there is a good chance it does.

Give it a try and then add a reply here to let us know you findings!

You can have Arduino IDE 2.x and 1.x installed on the same computer at the same time without any problems, so you don't need to uninstall Arduino IDE 1.x before installing 2.x if you aren't sure you want to switch to 2.x permanently yet.

Touch screen and such is all 1980's technology. The driver for the touch screen output keyboard characters to send to the receiving program. I recall a small company in the Seattle area developed their screen input and were busy selling it. Next release of Microsoft duplicated their offering and put them out of business!

I'll give the latest version a shot. Only using 1.8 becaue i have some libraries that wont work on newer, and the developer stopped maintaining them.

If you will provide a detailed description of the problem you are having using those libraries with Arduino IDE 2.x, I'm certain we can provide instructions to overcome that problem.

There is no significant obstacle to using any Arduino library with Arduino IDE 2.x.

mostly compile errors as most of my libraries are 10 years old, from the Arduino 0017 and 0022 days. But, that's why i still use older versions, to maintain compatibility with older code. but then i'd also like those older versions to work on newer hardware like a touchscreen/pen.

Right, installed the latest 2.x release. touch scroll works, but the onscreen keyboard pops up after i release my finger and i find that quite annoying to have to close it each time. but i guess i could make it work. works with the pen as well which is nice, but same issue. lifting the pen away after immediately brings up the windows ink typing box.

As I said before, I'm confident that there will be no challenge to overcoming whatever mysterious problem you might have encountered using those libraries with Arduino IDE 2.x.

The offer of assistance with that still stands, but there is nothing we can do until you provide the information we need.

Great news!

Maybe you can fix that by adjusting the Windows settings?

I'll make a new thread, once i get a list together of the libraries i'm having issues with.

Yeah, i can do that,

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.