- Joined
- Feb 10, 2009
- Messages
- 5,484
- Trophies
- 2
- Location
- Sacramento, California
- Website
- lazerlight.x10.mx
- XP
- 5,489
- Country
"Emulate keystrokes? Why would you want that when you can just plug in a USB keyboard to Switch?"
Hear me out.
In a few weeks, FUZE4 will be released, which is a text-based programming language/environment for the Switch where you can create your own stuff. I'm hoping to make a few things with it, including porting my Mega Man 2 PTC project to it (originally made for Petit Computer on the DSi). The languages are incompatible, so I'd have to redo it. While I could do it straight on the Switch, doing such a thing right on a system isn't how I did my previous project. When I did that one, I did the majority of my programming, editing of images, compression, etc all on my PC, and used PTCUtilities to generate QR codes and then scan them into my 3DS. FUZE4, according to the devs and likely controlled by Nintendo, has no means to inject data externally with the exception of one. A USB keyboard, one character at a time.
My thought, if possible, is connect the Switch to a PC via USB, and on the PC side, have a program that can send emulated keystrokes to the Switch. Not simply using a PC's keyboard, but even have a kind of copy/paste function where it'll stream a selection of data via emulated keystrokes from PC to Switch. Not exactly a fast way of sending a LOT of data, but a way nonetheless.
"Sure, good for code, but what about graphics? Audio? Everything else?"
Well, as far as I understand, assets made with the program, like graphics, use the program's own file handling functions to read/write them. So technically, we could code a file-write program with the asset inserted as static data, send it all as code, then run the program for it to write that asset to memory. An advantage of having all the stuff on the PC to send it to Switch in this fashion is that it'll allow sharing beyond the scope allowed by the devs. What they said was that sharing of projects is restricted to the friend list, but if we have the data outside of the program, we can share it however we want.
So yeah........is there a program that could allow this, or maybe someone could make one? Doesn't even have to be specifically PC->Switch, just having a PC act like a keyboard to whatever else connects to it.
Hear me out.
In a few weeks, FUZE4 will be released, which is a text-based programming language/environment for the Switch where you can create your own stuff. I'm hoping to make a few things with it, including porting my Mega Man 2 PTC project to it (originally made for Petit Computer on the DSi). The languages are incompatible, so I'd have to redo it. While I could do it straight on the Switch, doing such a thing right on a system isn't how I did my previous project. When I did that one, I did the majority of my programming, editing of images, compression, etc all on my PC, and used PTCUtilities to generate QR codes and then scan them into my 3DS. FUZE4, according to the devs and likely controlled by Nintendo, has no means to inject data externally with the exception of one. A USB keyboard, one character at a time.
My thought, if possible, is connect the Switch to a PC via USB, and on the PC side, have a program that can send emulated keystrokes to the Switch. Not simply using a PC's keyboard, but even have a kind of copy/paste function where it'll stream a selection of data via emulated keystrokes from PC to Switch. Not exactly a fast way of sending a LOT of data, but a way nonetheless.
"Sure, good for code, but what about graphics? Audio? Everything else?"
Well, as far as I understand, assets made with the program, like graphics, use the program's own file handling functions to read/write them. So technically, we could code a file-write program with the asset inserted as static data, send it all as code, then run the program for it to write that asset to memory. An advantage of having all the stuff on the PC to send it to Switch in this fashion is that it'll allow sharing beyond the scope allowed by the devs. What they said was that sharing of projects is restricted to the friend list, but if we have the data outside of the program, we can share it however we want.
So yeah........is there a program that could allow this, or maybe someone could make one? Doesn't even have to be specifically PC->Switch, just having a PC act like a keyboard to whatever else connects to it.