Computer Games Forum

Go Back   Computer Games Forum > Tech > Software

Notices

Reply
 
LinkBack Thread Tools
Old 25-07-2005, 01:57   #1 (permalink)
W@R
a innebunit lupu
 
W@R's Avatar
 
Join Date: Dec 2001
Location: tara tuturor posibilitatilor
Caut un hack cu care sa schimb key mappings-urile la tastatura

Am achizitionat de curand o tastatura care are ceteva butoane pozitionate total aiurea, ma refer la home, end, ins, del, pgup si pgdn.
Exista vre-o posibilitate (editare registry, editare hex in dll sau sys ceva) prin care sa schimb maparea tastelor? De exemplu din din end sa fac del . Am incercat si cu un program, a mers insa era shareware si ocupa cam 10MB din ram. Prefer orice alta optiune inaintea celei de a avea inca un program rezident.

Tastatura e cam asa, genius luxemate (stiu, seamana cu diNovo de la logitech ):
Attached Thumbnails
Click image for larger version

Name:	genius-luxemate.jpg
Views:	77
Size:	21.1 KB
ID:	51579   Click image for larger version

Name:	image.php.jpg
Views:	77
Size:	91.8 KB
ID:	51580  
__________________
there's no knowledge that's not power
 
W@R is offline    Reply With Quote
Old 25-07-2005, 04:12   #2 (permalink)
W@R
a innebunit lupu
 
W@R's Avatar
 
Join Date: Dec 2001
Location: tara tuturor posibilitatilor
Am reusit sa fac exact ce vroiam (+ more) cu programul AutoHotkey, consuma resurse decente, adica ~2mb ram...
__________________
there's no knowledge that's not power
 
W@R is offline    Reply With Quote
Old 25-07-2005, 11:24   #3 (permalink)
 
Aquashark's Avatar
 
Join Date: Dec 2000
Location: across ARCADES this SUMMER!
macar posteaza si tu solutia.. adica script-ul cu care ai remapped tastele
__________________
lipsa de idei a unui game designer se ascunde sub paravanul "realismului"

Street Fighter4 tag: pokeshark
 
Aquashark is offline    Reply With Quote
Old 25-07-2005, 12:27   #4 (permalink)
Registered User
 
Silenti's Avatar
 
Join Date: May 2005
Location: Bucuresti
Complet offtopic: mama ce tastatura oribila, chiar se merita sa te chinui cu ea pentru 5 cm^2 salvati pe birou sau pentru design?
__________________
the light at the end of his mental tunnel showed only more tunnel
 
Silenti is offline    Reply With Quote
Old 25-07-2005, 13:02   #5 (permalink)
Trance addicted
 
Raven's Avatar
 
Join Date: Nov 2001
Location: Here and there
Omu' a considerat că da!
__________________
„Trance Energy.. a small step for man, a huge leap for mankind...”
 
Raven is offline    Reply With Quote
Old 25-07-2005, 13:26   #6 (permalink)
W@R
a innebunit lupu
 
W@R's Avatar
 
Join Date: Dec 2001
Location: tara tuturor posibilitatilor
Inainte de asta aveam o tastatura si mai mica... asa ca.. . Am schimbat-o cu asta pt ca e mult mai silentioasa... si oricum vroiam wireless.
Scriptul de autohotkey este urmatorul:

; Minimise to titlebar
ws_MinHeight = 25
OnExit, ExitSub
return
#z::
WinGet, ws_ID, ID, A
Loop, Parse, ws_IDList, |
{
IfEqual, A_LoopField, %ws_ID%
{
; Match found, so this window should be restored (unrolled):
StringTrimRight, ws_Height, ws_Window%ws_ID%, 0
WinMove, ahk_id %ws_ID%,,,,, %ws_Height%
StringReplace, ws_IDList, ws_IDList, |%ws_ID%
return
}
}
WinGetPos,,,, ws_Height, A
ws_Window%ws_ID% = %ws_Height%
WinMove, ahk_id %ws_ID%,,,,, %ws_MinHeight%
ws_IDList = %ws_IDList%|%ws_ID%
return

ExitSub:
Loop, Parse, ws_IDList, |
{
if A_LoopField =
continue
StringTrimRight, ws_Height, ws_Window%A_LoopField%, 0
WinMove, ahk_id %A_LoopField%,,,,, %ws_Height%
}
ExitApp



; Launch programs

Browser_Home::Run, D:\Programs\Firefox\firefox.exe
Launch_Mail::Run, D:\Programs\Firefox\firefox.exe http://mail.yahoo.com
Launch_App1::Run, D:\Programs\Totalcmd 6.0\TOTALCMD.EXE
Launch_App2::Run, C:\Program Files\Yahoo!\Messenger\YPager.exe


; Remappings

End:: Send {Del}
Del:: Send {End}
Ins:: Send {Home}
*Home:: Send {RCtrl down}
*Home up:: Send {RCtrl up}
RCtrl:: Send {Ins}


that's all
__________________
there's no knowledge that's not power
 
W@R is offline    Reply With Quote
Old 25-07-2005, 16:07   #7 (permalink)
Registered User
 
Aurelain's Avatar
 
Join Date: Jan 2002
Location: Bucuresti
Si eu sunt foarte multumit de AutoHotkey. Dar iata aici o solutie mai curata:
1) Te uiti peste scancodurile de la Microsoft (ti le-am atasat);
2) Construiesti valoarea urmatoare:
00000000
00000000
00000002 numarul de modificari pe care le faci plus 1
003A002A codul lui "caps lock" (0x3A) convertit in codul lui "left shift" (0x2A)
00000000
adica: 000000000000000002000000002A003A0000000000
3) Te duci la HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout si creezi o intrare REG_BINARY numita "Scancode Map" si pui valoarea de mai sus acolo;
4) Restartezi.

Avantaje:
- este modificare low-level la nivel de drivere, deci "as good as it gets".
- este modificare permanenta

Initial foloseam metoda aceasta pentru ca am o tastatura Microsoft, iar desteptii s-au gandit ca tastele "F1-F12" sa fie default "Help, Undo, Redo...etc". Apoi m-am gandit ca asa ceva ar merge si in cazul tau, si am gasit de pe google urmatorul thread, din care ti-am extras mai sus lamuririle: http://www.annoyances.org/exec/forum/winxp/t1004806455
Attached Files
File Type: zip scancode.zip (185.3 KB, 4 views)
 
Aurelain is offline    Send Message via Google Talk to Aurelain Reply With Quote
Old 25-07-2005, 16:41   #8 (permalink)
W@R
a innebunit lupu
 
W@R's Avatar
 
Join Date: Dec 2001
Location: tara tuturor posibilitatilor
10x a lot
__________________
there's no knowledge that's not power
 
W@R is offline    Reply With Quote
Old 25-07-2005, 16:46   #9 (permalink)
Registered User
 
PigBrother's Avatar
 
Join Date: Mar 1999
Location: Bucuresti
Are si Microsoft un utilitar de genul ala, iti customizezi si iti salvezi ce tastatura vrei si devine disponibila la Regional Settings.
http://www.microsoft.com/downloads/d...DisplayLang=en
__________________
balanced for lean
 
PigBrother is offline    Reply With Quote
Old 26-07-2005, 23:09   #10 (permalink)
W@R
a innebunit lupu
 
W@R's Avatar
 
Join Date: Dec 2001
Location: tara tuturor posibilitatilor
merci pentru raspunsuri, am rezolvat problema
__________________
there's no knowledge that's not power
 
W@R is offline    Reply With Quote
Old 26-07-2005, 23:37   #11 (permalink)
Registered User
 
stargate's Avatar
 
Join Date: Jan 2002
Location: Bucharest
Tastatura de la laptopul meu IBM nu merge cand apas T sau Y. Am scris un program care tasteaza T cand apas F9 si Y cand apas F10. Daca stiam ca exista deja...
 
stargate is offline    Reply With Quote
Old 27-07-2005, 00:06   #12 (permalink)
W@R
a innebunit lupu
 
W@R's Avatar
 
Join Date: Dec 2001
Location: tara tuturor posibilitatilor
lasa ma ca e mai bine sa faci de capul tau... desi ca developer trebuia sa ai idee despre Scan Code Mapper for Windows
Foloseste autohotkey, are mult mai multe chestii decat schimbarea tastelor.
__________________
there's no knowledge that's not power
 
W@R is offline    Reply With Quote
Advertisment
jocuri prin smsCumpără jocuri prin SMS

Rapid si sigur!
Reply

  Computer Games Forum > Tech > Software

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 16:17.


This site is copyrighted ©1997 - 2009, Computer Games Online SRL