Re: [TOOL] NohBoard - a keyboard visualizer - v0.9b
Ooooh okay so now i understand where they come from :p thanks for the info :)
I was looking at your source and found the LMB and RMB as CKEY_LMBUTTON and CKEY_RMBUTTON. So i was wondering what's the difference between those and for example VK_LBUTTON? And VK_MBUTTON is for the MMB.
For example i found out that A key hexadecimal is 0x41 which is 65 in decimals.
0x41 = 65
VK_LBUTTON = 0x01 = 1
VK_RBUTTON = 0x02 = 2
VK_MBUTTON = 0x04 = 4
So are your mouse buttons having some custom definitions? 1025 and up from nbtools.h so 1026 for LMB and 1027 for RMB. Why not using 1 and 2 instead? Is there somekind of reason for those?
(I'm new to the programming stuff. I just got in a school where i will learn programming but I am eagerly trying to learn some stuff in advance since it will not begin until August. Just bought a book for learning C# and looks a lot like Java :D )
Ooooh okay so now i understand where they come from :p thanks for the info :)
I was looking at your source and found the LMB and RMB as CKEY_LMBUTTON and CKEY_RMBUTTON. So i was wondering what's the difference between those and for example VK_LBUTTON? And VK_MBUTTON is for the MMB.
For example i found out that A key hexadecimal is 0x41 which is 65 in decimals.
0x41 = 65
VK_LBUTTON = 0x01 = 1
VK_RBUTTON = 0x02 = 2
VK_MBUTTON = 0x04 = 4
So are your mouse buttons having some custom definitions? 1025 and up from nbtools.h so 1026 for LMB and 1027 for RMB. Why not using 1 and 2 instead? Is there somekind of reason for those?
(I'm new to the programming stuff. I just got in a school where i will learn programming but I am eagerly trying to learn some stuff in advance since it will not begin until August. Just bought a book for learning C# and looks a lot like Java :D )