Space Engineers

Space Engineers

TouchScreenAPI
104 Comments
EthicalObligation Oct 20, 2024 @ 4:49am 
Yeah. This should be front page. There is so much you could do. We need more Apps!
surprisedpoultry Oct 8, 2024 @ 12:35pm 
I recreated a new world with just the electric info app in it and it was working properly. I added my app after and it was also working well. I don't know how I go myself in the state that didn't work but it is working now. *shrug*
Adriano  [author] Oct 8, 2024 @ 12:15pm 
@surprisedpoultry the middle clock was the old way, currently just the left click should do the trick. Are you sure you have the API mod added to your save? It is the one responsible for preventing the default click and calculating the cursor position.
Did you try the electric app or the button pad app in the same save to check the mod is working?
surprisedpoultry Oct 8, 2024 @ 12:09pm 
I'm looking to make my own app using your API.

I realized quickly through testing that the "Public title" box would start appearing the minute I click anywhere on the LCD screen. The comments in the electric network app mention this and the answer is to use middle mouse button which didn't work for me.

Is there another way for me to disable this behavior?
Lells Jul 25, 2024 @ 5:50am 
Awesome, thank you for the answer! I'll be tossing this onto my server then!
Adriano  [author] Jul 19, 2024 @ 6:20am 
@Lells hey, this is a Mod and needs to be added to the server 👍
This one is a required dependency for both apps in the description.
(The apps are also mods btw, and in theory it is possible to create apps using PB and this API but it is not recommended because of networking)
Lells Jul 19, 2024 @ 6:14am 
Scanned through comments, the description here, the GitHub readme, and the Electric Network Info app looking for the answer, but didn't see the answer, Workshop item tags are ambiguous, so I'm just going to ask:

Is the API an actual mod that the server will need to have installed, or is it a script that goes in a programmable block? Same question for the applications.

I would like to incorporate this on my dedicated server, but:
Script - Client side install only
Mod - Server side install
So it's important to know which one I'm dealing with.

Thanks in advance for your time and I hope for a response, this looks amazing and you obviously put in a ton of hard work.
Adriano  [author] Feb 19, 2024 @ 3:06am 
@zeroGhost hey, unfortunately the TSSs need some server side logic to run, so it is not possible using the plugin loader that just insert mods locally. I tried that when I first release them.
Thanks for the kind words.
zeroGhost Feb 19, 2024 @ 2:09am 
hey Adriano, this is genius work your doing here .. i wish SE was bigger community to be more properly appreciated .. at this point servers are not even willing to run mods that really make the game function ..like this one.. i am forced to use SE plugin Loader to sideload mods ...were my question comes from .. is this and its DAPPS possible to be tweaked to work client side in the SE plugin loader
Adriano  [author] Feb 18, 2024 @ 2:20pm 
@Rastlore30 Hey, thanks <3 About disabling subgrids, that is not possible currently but it may be something I can add in the future. Good idea! I added to my notes and will try to include it on next round of updates :steamthumbsup:
Rastlore30 Feb 18, 2024 @ 2:03pm 
Hiya Adriano! Just wanted to drop a line and say thank you for fixing the Button Pad API to work with blueprints and for your hard work in keeping us all happy despite our flood of requests and operator level bug reports :steamhappy:

That said I do have a question or perhaps a feature request. Is there a way to disable the Electric Network from reading subgrids? And if there is not could that be something that could be worked in at some point in the future?
EthicalObligation Nov 24, 2023 @ 3:44am 
Would love to see more of this!!
Brycey92 Oct 2, 2023 @ 4:08pm 
I think this causes all text displays to display blackness or turn off. I removed the mod and they started working again.
Adriano  [author] Jul 11, 2023 @ 7:34pm 
@Anitram @CommanderChet Sorry for the dela, I was on vacation until last weekend. I updated the examples repo with latest api. Ping me on Discord for more details if needed.
CommanderChet Jul 11, 2023 @ 5:48pm 
I ran into the same issue as Anitram.
The error itself is "The type or namespace name 'FancyCursor' could not be found" originating from TouchSampleTSS.cs
Adriano  [author] Jun 20, 2023 @ 1:07pm 
@Anitram Hey, nice to see that you are interested. I will take some time to take a look on the examples.. but feel free to ping me on Discord for more info.
My new tag there is @adrianolima.
Anitram Jun 20, 2023 @ 1:51am 
I forgot, when I put the example you have on github it gives me errors and I don't know how to solve them
Anitram Jun 20, 2023 @ 1:49am 
@Adriano Congratulations for this API. I am a beginner programmer and I have seen that you have 2 mods, very impressive, but also very complex to understand. Don't you have a basic example mod to know where to start?
Thank you
Senomega Jun 5, 2023 @ 4:05pm 
In my ship I have 2 entrances. There is an LCD at each entrance. Here, for example, I would like to switch on the light in the ship. But that is always only possible on one LCD. I then have to re-setup each time on the other LCD. We play on a dedi server
alessiobiagio2003 May 20, 2023 @ 2:38pm 
@Adriano ok thank you😄
Adriano  [author] May 20, 2023 @ 10:04am 
@alessiobiagio2003 FYI I just sent an update that may fix the crash you had.
It was caused when calibrating a screen that was already calibrated for some cases.
Note that all vanilla blocks are calibrated by default, you don't need to calibrate them.
alessiobiagio2003 May 18, 2023 @ 4:45am 
@Adriano uh ok, thank you😁.....Can you let me know if you find anything?
Adriano  [author] May 17, 2023 @ 8:49pm 
@alessiobiagio2003 That shouldn't happen.. I will investigate and send a fix soon, thanks for reporting!
alessiobiagio2003 May 17, 2023 @ 3:32pm 
hi, your work is great. But can you explain why in calibration it crashes instantly? i tried all the lcds, but nothing, every time the game explodes.:steamsad: yet i have a good computer
Katarina [WolfCraft Industries] May 5, 2023 @ 12:25am 
i'm also having crash issues with the touch screen setup app on my dedicated server.
had it on the key panel on the new automaton programmable block and on a vertical corner LCD.
the corner LCD happens reliably but the PB didnt happen all the time, mostly when i was online for a while and then tried setting it up.

also it seems like the button touch app doesnt save on dedicated... my screens were always reset after a restart. if you want, we can diagnose it together via discord
Rastlore30 Apr 26, 2023 @ 2:15am 
@Acirno look at a screen you have it set up on with nothing in hand, no tools. The cursor should show up and track to where your cross-hair is pointing as long as your keep looking at the screen.
BinaryKiller Recoded Apr 23, 2023 @ 2:17am 
How come this mod isn't as popular as it should be??? We no longer need a hotbar with this mod and vehicles.... We can use the LCD panels inside the cockpits of everything
Acirno Apr 20, 2023 @ 10:44pm 
How do you get the cursor to pop up for screens?
Kheryn 🩸 Apr 1, 2023 @ 11:53am 
The calibration crashes me too but only on Transparent LCDs on everything else it works fine.
Panik Goblin Mar 30, 2023 @ 8:40pm 
It turned out to be an issue with priority with Build Info, If you have Build info loaded before the touch screen api it seems to have an issue. I tried again with it moved to almost the very top of the load list and it seems to work just fine now.

The screen I was using was the large sci-fi screen added by one of the DLC.
Adriano  [author] Mar 27, 2023 @ 8:52am 
@Panik Goblin I think no one else reported that before, I will take a look if I can find what could cause that. What modded block are you trying to calibrate?
Thanks for reporting!
Panik Goblin Mar 26, 2023 @ 2:49pm 
Not sure if anyone else has seen this, but when I click a button on the calibration it causes an instant crash with no log. Not sure if it is conflicting with another mod or not, or if this is a known issue that might pop up occasionally.
MisterCadrega Mar 13, 2023 @ 11:06am 
Great work man! Seems to be fixed!
Adriano  [author] Mar 13, 2023 @ 10:11am 
@papamobile42 Thanks for reporting! I just sent an update to fix that.
MisterCadrega Mar 13, 2023 @ 3:36am 
Hmm on my server at the first connection I get this message repeated for a dozen times:

ERROR: Lima.Touch.TouchManager: Object reference not set to an instance of an object.

then all the UI messages at the bottom of the screen stop working until I disconnect and reconnect. Got both of your apps (electric network info and button panel) so can't really tell which one is the problem.
Adriano  [author] Mar 12, 2023 @ 9:44am 
@Visentinel haha yeah, he and some other suggested this. It keeps consistency with other game features.
Also since I’m blocking click, some guys were having problems to grind it haha
Visentinel Mar 12, 2023 @ 9:41am 
I cant use the screen when holding a tool

I blame Malware for this, its his folt.
Adriano  [author] Mar 12, 2023 @ 7:59am 
@Visentinel Yeah that is the most suggested app idea, I always say I'm waiting for someone else to do it. But I may do it myself soon. Thanks for suggesting.
Visentinel Mar 11, 2023 @ 11:50pm 
Hey Adriano you should make a touch screen for managing ships inventory
Ritor Mar 11, 2023 @ 10:31pm 
OK, thank you for the information
Adriano  [author] Mar 11, 2023 @ 10:27pm 
@Visentinel That is technically a bug because it also works behind non transparent blocks, but it is also a feature for glasses haha.
I will try to fix the bug without removing the feature.
Adriano  [author] Mar 11, 2023 @ 10:04pm 
@quaiter I just sent an update that changes the clicks and now accepts joystick to interact with it.
Left click is now the default, right and middle click may have some alternative funcionalities on the apps.

For joysticks, RB is the primary action, and LB is the second.
Visentinel Mar 10, 2023 @ 1:35am 
Fun thing i noticed today, i can control a "Touchscreen" through the glass of a window.

Intentional ? Guess i can put glass screen protectors over my LCD screens :steamhappy:
Ritor Mar 8, 2023 @ 9:58pm 
@Adriano Yes, that's exactly what I meant. Thanks a lot.
Adriano  [author] Mar 8, 2023 @ 6:30pm 
@quaiter You mean just subscribe to it and add to server mods list? Yeah sure!
You can just add to the mods list, and the player will automatically download it from the workshop.
Ritor Mar 8, 2023 @ 3:52pm 
Hello @Adriano. I want to use your TouchScreen Api and mods (Electric Network Info, Button Pad) on our server, it is allowed?
Adriano  [author] Feb 21, 2023 @ 9:02pm 
There was a problem with precision when the player was too far from world center. It may be fixed by last update.
Adriano  [author] Feb 17, 2023 @ 7:07am 
@Izywindy Nice! You can find both of my apps and some examples on my GitHub repos. And feel free to ping me on discord if you need help on how to use it. Good luck!
WindyPlus Feb 17, 2023 @ 3:36am 
Good work! I'll use this api in my mod. :)
Pentium Feb 15, 2023 @ 9:31pm 
ye its awesome