Closed Vegz78 closed 1 year ago
Here is a support page with various libraries that will add keyboard emulation support to the microbit. Hope this helps.
Yeah, I saw that page, and have been investigating @bsiever's great microbit-pxt-blehid from there. But sadly it only works for the micro:bit V2.
Though, further investigation of where he got his inspiration, led me today to @fdalvi's fork of a fork of @kshoji's old non-working pxt-bluetooth-keyboard, via @orklann, to his working in older versions micro-bit-gamepad
So, in a sense, it is already solved over Bluetooth, but still not able to get your pxt-maker-controller extension to work with the micro:bit over usb...(the extension does not load in the micro:bit MakeCode editor)
I thought maybe there were only some dependencies missing or similar in pxt.json, that prevented it from loading in the micro:bite MakeCode, that it would otherwise work? And that you could please comment specifically if you think that is the case, or there are probably bigger hardware related issues preventing this from working with your extension? https://github.com/microsoft/pxt-maker-controller/blob/master/pxt.json
It’s not possible on v1 as daplink does not implement keyboard hid.
From: Vegz78 @.> Sent: Sunday, January 22, 2023 9:48:51 PM To: microsoft/pxt-maker-controller @.> Cc: Peli de Halleux @.>; Mention @.> Subject: Re: [microsoft/pxt-maker-controller] Not working for the micro:bit (Issue #3)
Yeah, I saw that page, and have been investigating @bsieverhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbsiever&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7yKGg%2Beo1jelYjuN5TwvOqN0%2F6KNX%2FdUnj%2FrEM5AGlc%3D&reserved=0's great microbit-pxt-blehidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbsiever%2Fmicrobit-pxt-blehid&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QLk84Q9oT8NcYQXryNJKOV6kw7x9xNb0%2FWNLVpoFrmE%3D&reserved=0 from there. But sadly it only works for the micro:bit V2.
Though, further investigation of where he got his inspiration, led me today to @fdalvihttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffdalvi&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Wb1kfVnfr68XE%2B5zVww%2FMRYo5E%2BJezr8ne74TLzPqUk%3D&reserved=0's fork of a fork of @kshojihttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkshoji&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DwCwlt3b8N55Vkz2WEFDOxmMzkNm4yMleGldwBC%2F0w0%3D&reserved=0's old non-working pxt-bluetooth-keyboard, via @orklannhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forklann&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FjsIxOmLRmMn8VSm4PAWQRD5CQgLJ3MXaHbfqilbwzI%3D&reserved=0, to his working in older versions micro-bit-gamepadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffdalvi%2Fmicro-bit-game-pad&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=v9A2oD%2FOYUlDGL9J8L5KuPkFmo2dxFmYty8CjzRMnzU%3D&reserved=0
So, in a sense, it is already solved over Bluetooth, but still not able to get your pxt-maker-controller extension to work with the micro:bit over usb...(the extension does not load in the micro:bit MakeCode editor)
I thought maybe there were only some dependencies missing or similar in pxt.json, that prevented it from loading in the micro:bite MakeCode, that it would otherwise work? And that you could please comment specifically if you think that is the case, or there are probably bigger hardware related issues preventing this from working with your extension? https://github.com/microsoft/pxt-maker-controller/blob/master/pxt.jsonhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpxt-maker-controller%2Fblob%2Fmaster%2Fpxt.json&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345517250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8bkNtMZdF8WE%2FR5FJPybfxstfqB5sQUCd2xRdWz9P6s%3D&reserved=0
— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpxt-maker-controller%2Fissues%2F3%23issuecomment-1399836295&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345673492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=X3Rz9TxVVtqZM7ITT9z0d0fnaRCIRhbGXLgD78r2EVI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73QKIY6CPB6ZCQ5OXSYXTWTYLUHANCNFSM6AAAAAAUDKXDQA&data=05%7C01%7Cjhalleux%40microsoft.com%7C5c0bb362050544a1a55f08dafd0581be%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638100497345673492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q6yk2TbNiJCxITG3sayo5KhOpaKA%2F1XnjiAheVCIcbg%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>
Hi @pelikhan,
Just read with joy your fun article about "Everything is a Keyboard".
But I am unable to get this pxt-maker-controller extension to work for the micro:bit in the official https://makecode.microbit.org/ editor.
The extension won't load at all into the editor.
Having somewhat similar MCU as many of the maker boards on maker.makecode.com, I had expected it to work also for the micro:bit.
Do you know why the this extension isn't working for the micro:bit, and maybe what your think could be done to make it work?
Br, Vegard