r/ProgrammingPrompts • • Jan 30 '17

Full keyboard using only an Xbox controller

2 Upvotes

So I had an idea for a way you could type with an xbox controller (or any similarly formatted controller), but I don't know any programming worth a damn. However, I still like the idea, and think it could be useful (or, at the very least, fun), so if someone wants the challenge, go nuts.

My idea was to use each "button" (a,b,x,y,lb,rb,lt, and rt) to bring up a set of two character wheels, one for the left stick, one for the right stick. Moving the stick to select a character then releasing the button would type that character. The d-pad could be used for quickfire, heavily-used keys (I was thinking Comma, period, backspace, space). By using two wheels per button (plus you could use multi-button holds, like rb AND a, to bring up even more wheel combinations), I imagine you could find a spot for every normal keyboard character without making the wheels too... cluttered, I guess would be the right term. Plus, you could use select, start, leftstick-click, and rightstick-click for toggle hotkey combo keys like shift, alt, and ctrl. By using shift to create characters like !,@,#,$,%,etc. (like on a normal keyboard), rather than sticking them on separate wheels you can de-clutter the wheels even further.

I've seen a few controller to keyboard programs, but they all either just assign specific keys to specific buttons (allowing for use as a simple media controller, but not an actual keyboard) or just use the controller to select characters on an on-screen keyboard by moving up and down across a grid and then pressing a button to select the character (like you would on a console). That is not what I'm looking for. One thing to remember is that I'm not planning to use this for gaming. I'm planning on using it for writing, or navigating. (so maybe use the left stick to control the cursor, right stick to scroll when no button is held down? IDK.). I know that it won't really be practical to use as a keyboard, but I think it would be fun and interesting to use.

Anyway, that's my idea. If I'm in the wrong subreddit (which I might very well be) please inform me, and I'll immediately delete this post.

Basically, I'm a writer and a gamer, and I wanna write a chapter of a book with just my xbox controller (and maybe a mouse). Why? Because why not?

EDIT: BTW, in case my term "character wheel" is confusing, I got the idea for this whole thing from the overwatch communication wheel.


r/ProgrammingPrompts • • May 19 '26

Slot-Machine - Random Number Generation

1 Upvotes

Inspired by this post in /r/javahelp.

The idea is to create a "wheel" that can hold an array of digits, letters, etc.

The wheel can be "spun" and then it rotates for a random amount of time (or number of "steps") and finally presents its number. It should have a "hold" functionality where it keeps the last rolled number, as well as a "reset" where it gets reset to present the first element in the backing array. Each wheel could "spin" with a different speed.

Bonus, if the wheel keeps a result history (that can also be cleared). Also, the seed for the RNG could be passed upon construction to enforce same results.

Then, create a "slot machine" with a variable number of wheels, as indicated in the linked original post.

The slot machine should spin the wheels (either in sequence, or parallel as a bonus) and then present the final result.

The "wheel" could be used as the base for a number of slot machine games.


r/ProgrammingPrompts • • May 27 '22

Universal Filter & Sort Browser Extension (Advanced?)

Thumbnail self.chrome_extensions
1 Upvotes

r/ProgrammingPrompts • • Aug 24 '18

Create a print double extension for Chrome

1 Upvotes

Basically have to get a duplicate of everything i print for a lot of documents I have to print for uni. It is of course possible to click a button to raise the amount of copies printed but having it automated would help me a lot! Please let me know if this goes way beyond what is acceptable in this subreddit. I just want to give it a try.


r/ProgrammingPrompts • • Oct 20 '17

modification to the existing Plex Movie meta agent to automatically create movies tags, genre or collection

1 Upvotes

ok so over on my other thread called "some love for non English speaking people" somebody recommended this method for something im trying to archive, however after trying i could not get it to work (not sure if im doing some wrong), he or she if going to get back to me with a correct/ fixed code because that one is not going to work, meanwhile i wanted to ask to the community to see if someone know how to do this (python coding) reference: https://www.reddit.com/r/PleX/comments/76y8k8/some_love_for_non_english_speaking_people/


r/ProgrammingPrompts • • Aug 14 '14

Food for starving Artists-Program

1 Upvotes

Hi programmers! I have a suggestion for those
who look for a project idea, for learning, to make
money or to make something good.

I mean good in both ways. Good as in quality.
Good as in morally. Do you know the saying
Fast, good, cheap pick two? Now you got it.
Maybe I'm the first who's telling you.

Before I tell you my project idea, something about
me:

I have pirated. Programing environments, 2D-tools,
3D-tools, games, music, movies. That was a long time ago.

This is my reason to write this for someone who
wants to make something.

An upload-reporting program.

This allows everyone to report to their favorite
artist if something is uploaded against the artists
will somewhere. This automatically sends the
appropriate authority the message to act accordingly.

It consists of the following 4 parts:

  • A web interface that allows everyone to send
    details about the upload (the link, the file format,
    the required programs to do it, the personal details
    of the reporting person MAYBE, and what else might
    be required to do it).

  • A database that stores all the text-strings of the
    report.

  • A part that takes all the relevant text-strings in a
    nicely formated email, with greeting and regards.

  • An outgoing interface that sends the emails when
    and where it should be send.

For example if someone finds an upload on youtube,
he/she can just go to the artists website, put the
link, the name of the work, the type of the work and
other details in a web form hit submit, and that's all.
All the details are processed on the server and
youtube is contacted or/and the authorized organi-
zation(s).

In one form or another the four parts are floating
around in mini-php-scripts, so it's not too hard to
create a program like that.

It would be a great idea if it's made with a good
documentation, to make it easy to use for people
who don't know much about programming or com-
puters in general.

Legal organizations and hosting organizations could
probably make it easy to streamline this process
and create interfaces to make it easy to find instantly
the ip of the uploader and/or viewer and set all the
legal stuff in motion.