Difference between revisions of "Talk:GetControl"
Jump to navigation
Jump to search
imported>Scruggs (Actually...) |
imported>Speedo (Control ID's) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
[[User:KCat|KCat]] | [[User:KCat|KCat]] | ||
:Doubtful. The ordering for VK codes and DX codes is too different. For instance, Vk numerals begin with 0 (48) and end with 9 (57), whereas DX begin with 1 (2) and end with 0 (11). The letter keys are organized alphabetically for VK but according to QWERTY for DX. | :Doubtful. The ordering for VK codes and DX codes is too different. For instance, Vk numerals begin with 0 (48) and end with 9 (57), whereas DX begin with 1 (2) and end with 0 (11). The letter keys are organized alphabetically for VK but according to QWERTY for DX. | ||
:EDIT: Well, I'm in need of a way to convert DX to VK as well, so I'm throwing together an .esm that will do the conversion. I'll post a link when it's finished. [[User:Scruggs|Scruggs]] 21:32, 19 February 2007 (EST) | :EDIT: Well, I'm in need of a way to convert DX to VK as well, so I'm throwing together an .esm that will do the conversion. I'll post a link when it's finished. | ||
:Further EDIT: Finished. Here's the link: [http://www.elderscrolls.com/forums/index.php?showtopic=642786|link]. | |||
[[User:Scruggs|Scruggs]] 21:32, 19 February 2007 (EST) | |||
== Control ID's == | |||
According to the current OBSE documentation and my testing, Control #4 actually ''is'' Use, and not Attack. I've made the change.<br> | |||
--[[User:Speedo|Speedo]] 10:50, 4 March 2008 (EST) |
Latest revision as of 10:50, 4 March 2008
Is there a simple way to convert the values returned by this function to something useable by IsKeyPressed? IsKeyPressed2 is the function that uses DX scancodes, but that doesn't work on disabled keys like IsKeyPressed does, which I need.
KCat
- Doubtful. The ordering for VK codes and DX codes is too different. For instance, Vk numerals begin with 0 (48) and end with 9 (57), whereas DX begin with 1 (2) and end with 0 (11). The letter keys are organized alphabetically for VK but according to QWERTY for DX.
- EDIT: Well, I'm in need of a way to convert DX to VK as well, so I'm throwing together an .esm that will do the conversion. I'll post a link when it's finished.
- Further EDIT: Finished. Here's the link: [1].
Scruggs 21:32, 19 February 2007 (EST)
Control ID's[edit source]
According to the current OBSE documentation and my testing, Control #4 actually is Use, and not Attack. I've made the change.
--Speedo 10:50, 4 March 2008 (EST)