Charlie, Thank you for your latest release (version 1.3.2). A great job!
I’m trying to setup my Pronto remote control with a keyboard to send text over TCP/IP. With your new features I can send upper and lowercase ok. Can you advise how I can implement the shift button?
i.e. I would like to type the word “Test” from my homemade on screen keyboard. When I press the shift key I would like to be able to capitalise the next letter typed so instead of “test” it would appear “Test” etc. Is this possible?
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem I have is, I’m trying to simulate a keyboard with an on screen version on my remote control.
The natural action for a user when tying a sentence is to press the shift key to put the next letter into a capital character. I appreciate what you are saying will display the correct text. However I can’t send it as a single string like this. I guess I will have to work out some way of doing this on the remote control side.
I was hoping there was some way of breaking down the string your program sends. So I can choose when to send a “shift” character and a “letter” to put it into a capital.
Many thanks
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The original intent of the, now deprecated, "keys:" command was to enable what you are looking for (sort of). But it was broken and instead of trying to fix it, I took the alternative route of implementing "chars:".
I have just done a quick test and it doesn’t seem to be working for me. Here the status commands received with the new version.
I first sent just “t” then tried it with the shift key combinations. I have missed something here?
Loaded 63 commands.
Server: Listening on port 5150
Server: A client has connected.
Server: Initialized.
Command received: t
Sending keydown for: T
Command received: shiftdown:shift
shift down
Command received: t
Sending keydown for: T
Command received: shiftup:shift
shift up
Command received: t
Sending keydown for: T
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From your output, I cant tell what you are seeing in the edit field. What gets typed when you send those commands.
Note that when just using a single character as a commaned (e.g. 't') it ALWAYS gets converted to uppercase in the MCEController log. But the keycode for the 't' key is getting simulated. For the commands above, you should see the following in whatever edit field was active:
tTt
I like to use this for my test:
notepad
shiftdown:shift
t
shiftup:shift
e
s
t
shiftdown:shift
1
shiftup:shift
This will launch notepad and enter
Test!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Instead of emailing me (charlie) for help on MCE Controller. Post your issues here. That way more people can learn...
Charlie, Thank you for your latest release (version 1.3.2). A great job!
I’m trying to setup my Pronto remote control with a keyboard to send text over TCP/IP. With your new features I can send upper and lowercase ok. Can you advise how I can implement the shift button?
i.e. I would like to type the word “Test” from my homemade on screen keyboard. When I press the shift key I would like to be able to capitalise the next letter typed so instead of “test” it would appear “Test” etc. Is this possible?
Steve
Steve,
If you use "chars:Test" it should input "Test". If you did "chars:test" it should input 'test".
If you did:
chars:T
chars:e
chars:s
chars:t
It will input "Test".
Does this help?
The problem I have is, I’m trying to simulate a keyboard with an on screen version on my remote control.
The natural action for a user when tying a sentence is to press the shift key to put the next letter into a capital character. I appreciate what you are saying will display the correct text. However I can’t send it as a single string like this. I guess I will have to work out some way of doing this on the remote control side.
I was hoping there was some way of breaking down the string your program sends. So I can choose when to send a “shift” character and a “letter” to put it into a capital.
Many thanks
Steve
Steve, I think I understand now.
The original intent of the, now deprecated, "keys:" command was to enable what you are looking for (sort of). But it was broken and instead of trying to fix it, I took the alternative route of implementing "chars:".
I *could* (I think) implement a ShiftKeysCommand:
You would send:
shiftdown:shift
key:t
shiftup:shift
key:e
key:s
key:t
This could also be an alternate way of sending something like "alt-s":
shiftdown:alt
key:s
shiftup:alt
I am not 100% sure this is possible. Can you let me know if you think it is what you are looking for?
Steve, i've uploaded version 1.3.3 which implements shiftdown/shiftup as described above (except keys: is not needed). See the readme for docs.
Let me know if this works for you!
Thanks Charlie, much appreciated!
I will try it out as soon as I can and report back.
Thanks again
Steve
Charlie,
I have just done a quick test and it doesn’t seem to be working for me. Here the status commands received with the new version.
I first sent just “t” then tried it with the shift key combinations. I have missed something here?
Loaded 63 commands.
Server: Listening on port 5150
Server: A client has connected.
Server: Initialized.
Command received: t
Sending keydown for: T
Command received: shiftdown:shift
shift down
Command received: t
Sending keydown for: T
Command received: shiftup:shift
shift up
Command received: t
Sending keydown for: T
the-stealth:
From your output, I cant tell what you are seeing in the edit field. What gets typed when you send those commands.
Note that when just using a single character as a commaned (e.g. 't') it ALWAYS gets converted to uppercase in the MCEController log. But the keycode for the 't' key is getting simulated. For the commands above, you should see the following in whatever edit field was active:
tTt
I like to use this for my test:
notepad
shiftdown:shift
t
shiftup:shift
e
s
t
shiftdown:shift
1
shiftup:shift
This will launch notepad and enter
Test!
Sorry Charlie, My mistake its working fine, I’m a little tired tonight so not quite with it….
Previously I only tested it within the MCEController Window.
I have now tested the output in a Google search field and it responds correctly.
Again, Great Job!
Many thanks
Steve