mitxela.com forum
Welcome. Please log in or register.

RN-42 two interfaces in one device(Keyboard+Gamepad)
susjin3 Posted: 29 May 2018, 12:39 AM
Avatar


Member
Posts: 1
Joined: 29-May 18
Hi

I'm using Arduino Uno and RN-42 as a BT module.
Now, I'm having trouble with RN-42.

I want to make a HID device as Keyboard + Gamepad (report descriptor).

According to the RN42 datasheet, the command for the setting the report descriptor is "SH,<value>".

As you can see from the bottom picture,

(User posted image)


it works when I try to do it one at a time, but I can't find
the way to make two interfaces(Keyboard+Gamepad).

Is there any who know about this? Help me please!!

Thanks in advance

-------------
[top]
mit Posted: 29 May 2018, 09:05 AM
Avatar
yeah whatever

Admin
Posts: 566
Joined: 4-May 16
Unfortunately I don't think it's possible, since you can't set the raw descriptors, only choose from those presets.

-------------
[top]
DAVID Posted: 30 May 2018, 04:01 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
you can only choose a
mouse
keyboard
gamepad
joystick
keyboard/mouse

-------------
[top]
DAVID Posted: 30 May 2018, 04:11 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
or something that is realy inefficient is to use 2 rn 42, one as a keyboard
and the other as a gamepad and use the SoftwareSerial library that comes in the arduino ide by default

Last edit by DAVID at 30 May 2018, 04:12 AM

-------------
[top]

Sign in to post a reply.