RE: Exclamation Point in DirectInput Key List

new topic     » topic index » view thread      » older message » newer message

-- SNIPPET --

integer shift
shift = 0

shift = keyboard_keystate(DIK_LSHIFT) or keyboard_keystate(DIK_RSHIFT)
if shift and keyboard_keystate(DIK_1) then
   -- EXCLAMATION PRESSED
end if

-- END --

Chris

C. K. Lester wrote:
> Where's the exclamation point?!
> 
> DIK_! <-- :)
> 
> I'm guessing I have to trap a shift key and check it with DIK_1, but how 
> do
> I do dat?
> 
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu