victormedranop Well-Known Member Licensed User Longtime User May 15, 2018 #1 hi, everyone. I just finished an application to receive streaming from some source. I works very well. but always use a mouse. now I try to use the remote control and don't know how to interact with the IR remote control. If someone have knowledge with this please share. Victor
hi, everyone. I just finished an application to receive streaming from some source. I works very well. but always use a mouse. now I try to use the remote control and don't know how to interact with the IR remote control. If someone have knowledge with this please share. Victor
KZero Active Member Licensed User Longtime User May 15, 2018 #2 did you tried to handle the remote control buttons using B4X: Sub Activity_KeyPress (KeyCode As Int) As Boolean log("Key Pressed code : " & KeyCode) End Sub Upvote 0
did you tried to handle the remote control buttons using B4X: Sub Activity_KeyPress (KeyCode As Int) As Boolean log("Key Pressed code : " & KeyCode) End Sub
victormedranop Well-Known Member Licensed User Longtime User May 15, 2018 #3 I try .but only get left right up down .keys like number did not get anything. I think the numbers are for the control . I'm waiting for the manual . Thabks Victor Upvote 0
I try .but only get left right up down .keys like number did not get anything. I think the numbers are for the control . I'm waiting for the manual . Thabks Victor
Erel B4X founder Staff member Licensed User Longtime User May 16, 2018 #4 You should compare KeyCode value to the KeyCodes constants: B4X: If KeyCode = KeyCodes.KeyCodes.KEYCODE_DPAD_DOWN Then If it doesn't work then post the keycode numbers. Upvote 0
You should compare KeyCode value to the KeyCodes constants: B4X: If KeyCode = KeyCodes.KeyCodes.KEYCODE_DPAD_DOWN Then If it doesn't work then post the keycode numbers.
victormedranop Well-Known Member Licensed User Longtime User May 16, 2018 #5 finally was a problem with direction and reception. working with keycode numbers. when i press 0 keycodes = 7. thanks Victor Upvote 0
finally was a problem with direction and reception. working with keycode numbers. when i press 0 keycodes = 7. thanks Victor
Erel B4X founder Staff member Licensed User Longtime User May 17, 2018 #6 KeyCodes.KEYCODE_0 = 7 Upvote 0