Comments (3)
Hi. Thank for your feedback. That's possible and that's a good idea because everyone would have probably some specific use.
That's easy to do but the HMI part will take me a while.
While waiting for a new version if you are able to compile the project with visual studio you can try modify /Resources/TV/MagicRemoteService/main.js
MagicRemoteService/MagicRemoteService/Resources/TV/MagicRemoteService/main.js
Lines 527 to 633 in 4205285
Case 0x193 to 0x196 are the color key. refer to https://webostv.developer.lge.com/develop/guides/magic-remote.
The Windows vk key you need are probably 0xB0 to 0xB3.
You can remap in main.js each case 0x193 to 0x196 in keydown and keyup event with replacing
case 0x193: //Color key
...
break;
with or add
case 0x193: //Color key
SendKeyboardKey({
usC: 0xB0, //VK Key
bS: true //true in keydown event false in keyup event
});
I forgot that you will need to add vk key case in
MagicRemoteService/MagicRemoteService/Service.cs
Lines 1138 to 1143 in 4205285
After compile you need to run and install it on TV.
from magicremoteservice.
You can now change Remote keybind from UI.
from magicremoteservice.
Thanks! Customisation UI would indeed be ideal, but even if the mapping woul exist in a simple config file, that would help a lot (unless the compilation step would be still necessary, which may be too hard for some, like me: although I will try!).
Thanks again!
from magicremoteservice.
Related Issues (20)
- the system can not find the file
- Suddenly stopped working? HOT 1
- Bind a key to launch a program [enhancement] HOT 4
- Bind "ALT" Key (LEFT ALT) not possible. HOT 3
- Solution for rooted (WebOSBrew Homebrew Channel) WebOS users? HOT 22
- HGIG / Black-Level / PC mode no longer available HOT 12
- 0-9 key binding, Swapped Middle and Right button HOT 3
- Is it possible to assgin service name? HOT 2
- Support multiple screens HOT 2
- MAP BUTTON HOT 8
- [solved] Overlay mode: no automatic start + no automatic stop of the service on TV HOT 13
- Error Message: "Uncaught TypeError: Cannot read property to `toString` of undefined ..." on WebOS 4.4.2 HOT 12
- trojan:Script/Wacatac.B!ml HOT 1
- Using Magic Remote microphone as text input? HOT 6
- MR23 Setting up play pause option HOT 1
- Automatic start solution HOT 20
- "The remote computer appears to be on but the service is not started or cannot be reached" HOT 1
- IPK Verified Failed HOT 2
- System.Text.Json error HOT 2
- How to uninstall from TV HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicremoteservice.