SynthMaker

Is key Pressed with numbers

Archive · 2009 21 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

nabulas1234 ·

Hey People I see that it isnt possible to create a shortcut with numbers (for ex "ctrl + 1") with module is key pressed:( This is so so so so bad. Is there any way to do this?

Nabu

Nu Audio Science ·

yes the number 1 is not key code 1 You need to find a key code list (The msn one i had has been taken offline)

NAS

nabulas1234 ·

You mean virtual keys like this?

http://msdn.microsoft.com/en-us/library/ms927178.aspx

Hmmm mouse buttons and some keyboard keys (a few) works but most of it... isnt working 😕

philter5 ·

it´s not my secret so i can´t tell you the whole truth but: almost every keyboard key works in SM, but SM can´t read the HEX value, means you have to convert it... sorry but i can´t say more about it, perhaps the owner of this secret will let you know how to do it but i gave my word to keep the secret... 🙂

Nu Audio Science ·

WTF ? If you know how to do it just say and anybody thats says to keep info like that secret is a total a-hole simple as that

NAS

philter5 ·

hey hey don´t feel pissed off , i don´t think its a problem for the one who found it out but i may not share the OSM that contains all the keyboard keys allready. and if he says that i have to respect it. simple as that! 😠 you have to convert the hex values to decimals, that´s it. and, BTW, if people that want to keep secrects secret are a-holes i just remember your post here...

Nu Audio Science wrote: Don't give away the secrets AM ffs SE is my secret modular weapon in my studio

NAS

😠 phil

Nu Audio Science ·

1 The secret you are talking about is essential information i suspect to a lot of users

2 What i stated was a joke and if you don't see that that is your problem not mine

And yes anybody who says to keep info like that is very much an a-hole, again if you have a problem with that it is your problem not ours Essential construction info is simply that ESSENTIAL or should everybody stop posting help and hints and how to's ? Come on now where would anybody be around here if say for instance oddson and exonerate decided to stop posting help ? I will tell you where totally screwed that's where

I am so annoyed at the attitude over this that i will go and try and find the hex myself and remake this oh so secret OSM and post it for all If said a-hole has a problem with that tell him to speak to me

NAS

nabulas1234 ·

Easy guys I dont want to unleash war with my post 😊

philter5 ·

@ NAS:hey don´t get me wrong, i wouldn´t have a problem with posting it for all users and i am happy that other people post their stuff for the community, too. so come down, i´ll ask for permission and then i´ll post the *osm. don´t want to annoy other users like you, it was more a kick in the right direction but now i think that it was no good idea. so, as i said, you have to convert the hex stuff to decimals and then almost every key works with SM, even the special keys on a multimedia keyboard. so don´t be cross with me, even i make mistakes and sometimes stupid posts, i hope you take my excuse and we can live friendly together here in this wonderfull forum. thx

phil 😉

nabulas1234 ·

THX philter5 problem have been solved! 😍

Virtual key codes: http://api.farmanager.com/en/winapi/virtualkeycodes.html

Hex to decimal calculator: http://www.easycalculation.com/hex-converter.php

Nu Audio Science ·

1 Left mouse button 2 Right mouse button 3 Control-break processing 4 Middle mouse button 5 l mouse button 6 r mouse button 7 Undefined 8 BACKSPACE key 9 TAB key 12 CLEAR key 13 ENTER key 16 SHIFT key 17 CTRL key 18 ALT key 19 PAUSE key 20 CAPS LOCK key 27 ESC key 32 SPACEBAR 33 PAGE UP key 34 PAGE DOWN key 35 END key 36 HOME key 37 LEFT ARROW key 38 UP ARROW key 39 RIGHT ARROW key 40 DOWN ARROW key 41 SELECT key 42 PRINT key 43 EXECUTE key 44 PRINT SCREEN key for Windows 3.0 and later 45 INS key 46 DEL key 47 HELP key 48 0 key 49 1 key 50 2 key 51 3 key 52 4 key 53 5 key 54 6 key 55 7 key 56 8 key 57 9 key 65 A key 66 B key 67 C key 68 D key 69 E key 70 F key 71 G key 72 H key 73 I key 74 J key 75 K key 76 L key 77 M key 78 N key 79 O key 80 P key 81 Q key 82 R key 83 S key 84 T key 85 U key 86 V key 87 W key 88 X key 89 Y key 90 Z key 91 Left Windows key (Microsoft Natural Keyboard) 92 Right Windows key (Microsoft Natural Keyboard) 93 Applications key (Microsoft Natural Keyboard) 95 Computer Sleep key 96 Numeric keypad 0 key 97 Numeric keypad 1 key 98 Numeric keypad 2 key 99 Numeric keypad 3 key 100 Numeric keypad 4 key 101 Numeric keypad 5 key 102 Numeric keypad 6 key 103 Numeric keypad 7 key 104 Numeric keypad 8 key 105 Numeric keypad 9 key 106 Multiply key 107 Add key 108 Separator key 109 Subtract key 110 Decimal key 111 Divide key 112 F1 key 113 F2 key 114 F3 key 115 F4 key 116 F5 key 117 F6 key 118 F7 key 119 F8 key 120 F9 key 121 F10 key 122 F11 key 123 F12 key 124 F13 key 125 F14 key 126 F15 key 127 F16 key 128 F17 key 129 F18 key 130 F19 key 131 F20 key 132 F21 key 133 F22 key 134 F23 key 135 F24 key 144 NUM LOCK key 145 SCROLL LOCK key 160 Left SHIFT key 161 Right SHIFT key 162 Left CONTROL key 163 Right CONTROL key 164 Left MENU key 165 Right MENU key 166 Browser Back key 167 Browser Forward key 168 Browser Refresh key 169 Browser Stop key 170 Browser Search key 171 Browser Favorites key 172 Browser Start and Home key 173 Volume Mute key 174 Volume Down key 175 Volume Up key 176 Next Track key 177 Previous Track key 178 Stop Media key 179 Play/Pause Media key 180 Start Mail key 181 Select Media key 182 Start Application 1 key 183 Start Application 2 key 186 For the US standard keyboard, the ';:' key 187 For any country/region, the '+' key 189 For any country/region, the ',' key 190 For any country/region, the '-' key 191 For any country/region, the '.' key 192 For the US standard keyboard, the '/?' key 193 For the US standard keyboard, the '`~' key 219 For the US standard keyboard, the '[{' key 220 For the US standard keyboard, the '\|' key 221 For the US standard keyboard, the ']}' key

philter5 ·

nabulas1234 wrote: THX philter5 problem have been solved! 😍

Virtual key codes: http://api.farmanager.com/en/winapi/virtualkeycodes.html

Hex to decimal calculator: http://www.easycalculation.com/hex-converter.php

you don´t need the hex to decimal converter, you can convert it in SM, too! just use the hex to int converter! and sorry for beeing an a-hole again 😉

nabulas1234 ·

Im a novice philter but in fact there is a converter in SM yeaah thx a lot! Love you guys 😉

Nu Audio Science ·

HERE

No need to even bother with all that conversion stuff either I have made it into a selector Just pick the key you want and it will output the correct number (Hopefully heheh)

NAS

theun ·

There is no secret.

You'll find the documentation of the "is key pressed" primitive in the component reference (pdf version) [old link], for the "is key pressed" read page 124.

On that page there is also a reference to http://msdn.microsoft.com/en-us/library/ms645540%28VS.85%29.aspx, where you'll find the list of virtual keys and their HEX numbers. (ignore the "0x", only indicates it is a HEX value).

So if you want to check if CTRL + "1" is pressed you might do that as in this osm.

Please (as explained in the comp ref) first press (and hold) the CTRL + "1" keys and then hit the trigger key

Cheers

theun ·

As far as I can see the list NAS provided a few posts ago directly converts the key to an int number, making life easier anyway 🙂

Cheers again

sunsynth ·

Damn,

only away 4 some time at the strand and phil have to contact me via PM 😉

Theun U are right and @NAS: U never ever read the SM manual... right?! 😈

I never make it public because it includes only a Hex2int and the M$ reference...

Nu Audio Science ·

Actually my manual must be really old or something cause the link to msn in mine is no longer working Anyway i have posted a selector now in examples so no more "Its a secret" type posts about this one

NAS

Acrobat ·

😀 😀 😀 oh my God I love this (virtual) place - makes me laugh

philter5 ·

😀 😀 😀 😀 ROFL

philter5 ·

AND WHAT DO WE LEARN FROM IT? READ THE FUCKING MANUAL 😉 i love this place too 😍

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.