need help changing some code /u/Yelll00 Python Education

so im making a pedal with a single keyboard switch and a pi pico using kmk firmware, its worked so far, the issue is i need the pedal to be able to be held down and register a key for as long as its held down, i dont know if i explained that properly. basically when i hold down the switch i want it to hold down that key because its a push to talk button. my knowledge in python is very minimal so apologies if what im doing here doesnt make sense. ill attach a link to a pastebin with the code on it. im also wondering if i can assign it to be other keys like function keys. but for the most part im just concerned about it functioning as a proper push to talk. any help received is appreciated.

https://pastebin.com/LPJm25AE

submitted by /u/Yelll00
[link] [comments]

​r/learnpython so im making a pedal with a single keyboard switch and a pi pico using kmk firmware, its worked so far, the issue is i need the pedal to be able to be held down and register a key for as long as its held down, i dont know if i explained that properly. basically when i hold down the switch i want it to hold down that key because its a push to talk button. my knowledge in python is very minimal so apologies if what im doing here doesnt make sense. ill attach a link to a pastebin with the code on it. im also wondering if i can assign it to be other keys like function keys. but for the most part im just concerned about it functioning as a proper push to talk. any help received is appreciated. https://pastebin.com/LPJm25AE submitted by /u/Yelll00 [link] [comments] 

so im making a pedal with a single keyboard switch and a pi pico using kmk firmware, its worked so far, the issue is i need the pedal to be able to be held down and register a key for as long as its held down, i dont know if i explained that properly. basically when i hold down the switch i want it to hold down that key because its a push to talk button. my knowledge in python is very minimal so apologies if what im doing here doesnt make sense. ill attach a link to a pastebin with the code on it. im also wondering if i can assign it to be other keys like function keys. but for the most part im just concerned about it functioning as a proper push to talk. any help received is appreciated.

https://pastebin.com/LPJm25AE

submitted by /u/Yelll00
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *