Subject:
|
Re: Remote Message Buttons
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 8 Dec 2003 13:47:56 GMT
|
Viewed:
|
4362 times
|
| |
| |
In lugnet.robotics.rcx.legos, Rand Krakora wrote:
> Anyone had problems getting the message 1,2,3 buttons working with brickOS?
> All other remote buttons are working.
>
> I am using v0.2.6.10.
>
> I looked through the kernel and includes, it looks like in lr_process(), the
> lr_keys gets checked vs. lr_curkeys,
I just use the standard IR message stuff from BrickOS. They are normal
messages, so this works just fine.
Here are some lines of code: (I think it's in lnp.h)
#include <sys/lnp.h>
...
clear_msg();
...
if (msg_received != 0)
my_message_value = lnp_rcx_message;
...
send_msg(send_message_value);
...
Steve
|
|
Message has 1 Reply: | | Re: Remote Message Buttons
|
| That doesn't seem to help, doing things that way actually made the Stop and Beep buttons function as Stop and Beep. I was hoping to have all the buttons "raw" messages available to remap their functionality. I think I know how to modify the kernel (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Remote Message Buttons
|
| Hello, Anyone had problems getting the message 1,2,3 buttons working with brickOS? All other remote buttons are working. I am using v0.2.6.10. I looked through the kernel and includes, it looks like in lr_process(), the lr_keys gets checked vs. (...) (21 years ago, 8-Dec-03, to lugnet.robotics.rcx.legos)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|