0

MakeCode and NeoTrellis
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MakeCode and NeoTrellis

by Fishe on Wed Dec 02, 2020 1:10 pm

I am using the Adafruit neotrillis M4 as a HID for iRacing admin commands. I have most everything working except for the link to press the enter key. I see most every other key on the keyboard in many combinations. Every command I have needs to have the enter key pressed to execute.

Simply put, what is needed to press the enter key?
Can someone provide some direction.

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by johnpark on Thu Dec 03, 2020 1:18 pm

I can't test it right now on hardware, but does this work for you?
Screen Shot 2020-12-03 at 9.16.17 AM.png
Screen Shot 2020-12-03 at 9.16.17 AM.png (19.18 KiB) Viewed 376 times

johnpark
 
Posts: 894
Joined: Wed Mar 25, 2009 2:15 pm

Re: MakeCode and NeoTrellis

by Fishe on Thu Dec 03, 2020 2:42 pm

I knew it would be easy

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by johnpark on Thu Dec 03, 2020 2:47 pm

Hmm, I tried it on a CPX real quick and it didn't work -- it seemed to be typing an "E" but never releasing. So, if that does work on Trellis, awesome! but I'm not sure it will now.

johnpark
 
Posts: 894
Joined: Wed Mar 25, 2009 2:15 pm

Re: MakeCode and NeoTrellis

by Fishe on Thu Dec 03, 2020 4:32 pm

Nope, i think it tried that and many other configs. If you could help it would be great. Looking to have this work

christapherenese/iracing-admin-keypad#master

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by johnpark on Thu Dec 03, 2020 6:49 pm


johnpark
 
Posts: 894
Joined: Wed Mar 25, 2009 2:15 pm

Re: MakeCode and NeoTrellis

by Fishe on Thu Dec 03, 2020 6:52 pm

Much appreciated

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by Fishe on Thu Dec 03, 2020 7:52 pm

I did post on the makecode forum and no response

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by Fishe on Mon Dec 14, 2020 9:10 am

Any word, I really would like to get this project completed, but without and enter key it would be useless. additionally, doesn't it make that whole extension incompete.

what about if it was done in JS

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by johnpark on Mon Dec 14, 2020 12:38 pm

That GitHub issue above is the best place to check for status change from the developers. Looks like one of the devs saw it.

I don't believe using JS would change the behavior.

johnpark
 
Posts: 894
Joined: Wed Mar 25, 2009 2:15 pm

Re: MakeCode and NeoTrellis

by Fishe on Tue Dec 29, 2020 8:16 pm

Looks like it has been added under functions... I am happy

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by Fishe on Sun Jan 03, 2021 2:19 pm

johnpark wrote:That GitHub issue above is the best place to check for status change from the developers. Looks like one of the devs saw it.

I don't believe using JS would change the behavior.


I got it working and proceeding to prototype. I have a few questions.

What would you use to label the elastomer keys, Do you think laser engraving would work?
Do you have the enclosure in any other files but illustrator. I have AutoCAD and inventor. I need to use to set the key descriptions so I can convert for engraving
Sourcing material, I am seeing the enclosure and elastomer keypad are usually out of stock. I would like to get from ADAFruit or should i get from elsewhere

BTW, link to my code

christapherenese/iracing-admin-keypad#master

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by Fishe on Mon Jan 04, 2021 10:00 am

I was able to convert the file

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

by johnpark on Mon Jan 04, 2021 1:10 pm

That's all great news! Very glad it got added to the block.
I've never tried to mark the elastomer itself, but doing etching or engraving the case top material is a great way to go. If you use a dark color anodized aluminum you can get a very legible engrave with the silver color showing where you engrave. Or, you can do a laser etch on acrylic or wood.
One good trick w etched acrylic is to paint and wipe the surface so the paint only stays in the etched nooks and crannies.

johnpark
 
Posts: 894
Joined: Wed Mar 25, 2009 2:15 pm

Re: MakeCode and NeoTrellis

by Fishe on Wed Jan 06, 2021 2:12 pm

AKP-100.png
AKP-100.png (381.26 KiB) Viewed 249 times

I think I need to outsource the Elastomer printed. Is that something ADAFruit would do or would you provide the vendor?

Fishe
 
Posts: 28
Joined: Mon Apr 25, 2016 8:50 pm

Please be positive and constructive with your questions and comments.